Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 169.6 kB / 25.03 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 158.6 MB / 186.8 MB, free: 2.832 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0 / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.358e-05, allocations: 2.312 kB / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.02593/0.02596, allocations: 17.54 MB / 267.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.04164, allocations: 5.733 MB / 273.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005032/0.04667, allocations: 147 kB / 273.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00573/0.0524, allocations: 1.354 MB / 275.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009449/0.06185, allocations: 1.999 MB / 277.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.06659, allocations: 1.249 MB / 278.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01272/0.07932, allocations: 6.365 MB / 284.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00699/0.08631, allocations: 2.88 MB / 287.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01319/0.0995, allocations: 4.265 MB / 291.9 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007879/0.1074, allocations: 2.887 MB / 294.8 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003206/0.1106, allocations: 0.7851 MB / 295.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004857/0.1154, allocations: 1.05 MB / 296.6 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004215/0.1197, allocations: 2.006 MB / 298.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007812/0.1275, allocations: 2.284 MB / 300.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2206/0.348, allocations: 10.42 MB / 311.4 MB, free: 26.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3481, allocations: 3.797 kB / 311.4 MB, free: 26.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3481, allocations: 0 / 311.4 MB, free: 26.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004971/0.3486, allocations: 0 / 311.4 MB, free: 26.68 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.03276/0.3813, allocations: 6.592 MB / 317.9 MB, free: 23.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.3814, allocations: 10.52 kB / 318 MB, free: 23.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.3937, allocations: 1.605 MB / 319.6 MB, free: 23.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.4065, allocations: 3.37 MB / 322.9 MB, free: 22.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005608/0.407, allocations: 387.8 kB / 323.3 MB, free: 22.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002925/0.41, allocations: 0.5101 MB / 323.8 MB, free: 22.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02813/0.4381, allocations: 6.997 MB / 330.8 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003622/0.4385, allocations: 8.109 kB / 330.8 MB, free: 18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002359/0.4408, allocations: 214.4 kB / 331 MB, free: 17.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003755/0.4412, allocations: 243.9 kB / 331.3 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02179/0.463, allocations: 5.727 MB / 337 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0485/0.5115, allocations: 18.39 MB / 355.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008729/0.5202, allocations: 3.662 MB / 359.1 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004498/0.5247, allocations: 1.924 MB / 361 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01466/0.5394, allocations: 4.962 MB / 365.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.417e-05/0.5395, allocations: 60.56 kB / 366 MB, free: 1.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=205): time 5.059e-06/0.5395, allocations: 0 / 366 MB, free: 1.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=222): time 0.0278/0.5673, allocations: 9.533 MB / 375.5 MB, free: 8.309 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.5673, allocations: 73.41 kB / 375.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006436/0.5738, allocations: 2.591 MB / 378.2 MB, free: 5.625 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003682/0.5742, allocations: 61.7 kB / 378.3 MB, free: 5.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002591/0.5767, allocations: 2.424 MB / 380.7 MB, free: 3.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.5779, allocations: 0.7925 MB / 381.5 MB, free: 2.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/0.5793, allocations: 0.5101 MB / 382 MB, free: 1.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5794, allocations: 309.1 kB / 382.3 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/0.582, allocations: 1.278 MB / 383.6 MB, free: 244 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003561/0.5855, allocations: 2.195 MB / 385.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006203/0.5917, allocations: 3.668 MB / 389.4 MB, free: 9.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-05/0.5918, allocations: 12 kB / 389.4 MB, free: 9.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.009619/0.6014, allocations: 4.411 MB / 393.8 MB, free: 5.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.6014, allocations: 16 kB / 393.9 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.345e-05/0.6015, allocations: 32 kB / 393.9 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/0.6032, allocations: 0.5429 MB / 394.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/0.6064, allocations: 0.6892 MB / 395.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.6181, allocations: 9.527 MB / 404.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/0.6216, allocations: 183.7 kB / 404.8 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007227/0.6223, allocations: 124 kB / 405 MB, free: 9.914 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 341 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,11,100.0%), (1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004041/0.6263, allocations: 1.517 MB / 406.5 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00166/0.628, allocations: 382 kB / 406.8 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008507/0.6365, allocations: 3.602 MB / 410.4 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.6365, allocations: 23.94 kB / 410.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-05/0.6366, allocations: 8 kB / 410.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.6366, allocations: 7.969 kB / 410.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/0.6555, allocations: 7.09 MB / 417.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.6555, allocations: 8.031 kB / 417.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/0.6573, allocations: 381.3 kB / 418 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/0.6599, allocations: 0.7785 MB / 418.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/0.6602, allocations: 67.97 kB / 418.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01981/0.68, allocations: 15.55 MB / 434.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.68, allocations: 7.188 kB / 434.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/0.6921, allocations: 5.357 MB / 439.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/0.6944, allocations: 0.5526 MB / 440.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007398/0.6952, allocations: 55.98 kB / 440.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/0.6969, allocations: 135.9 kB / 440.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/0.6975, allocations: 177.1 kB / 440.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.6976, allocations: 67.97 kB / 440.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003616/0.7013, allocations: 1.701 MB / 442.4 MB, free: 3.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7013, allocations: 0 / 442.4 MB, free: 3.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005776/0.707, allocations: 0.9296 MB / 443.3 MB, free: 2.793 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,11,100.0%), (1,3,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009555/0.708, allocations: 253 kB / 443.6 MB, free: 2.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1343/0.8423, allocations: 3.679 MB / 447.3 MB, free: 134.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.8423, allocations: 1.031 kB / 447.3 MB, free: 134.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005087/0.8474, allocations: 2.561 MB / 449.8 MB, free: 134 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/0.8518, allocations: 0.7125 MB / 450.5 MB, free: 134 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.8683, allocations: 9.487 MB / 460 MB, free: 130.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003199/0.8715, allocations: 2.786 MB / 462.8 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002601/0.8741, allocations: 0.7229 MB / 463.5 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006802/0.8748, allocations: 208.4 kB / 463.7 MB, free: 129.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.924e-06/0.8748, allocations: 3.938 kB / 463.7 MB, free: 129.2 MB / 378.7 MB Notification: Performance of Templates: time 0.08444/0.9592, allocations: 40.6 MB / 0.4925 GB, free: 91.04 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.9769054770004]