Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 157.6 kB / 24.99 MB, free: 9.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9707/0.9707, allocations: 177 MB / 205.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.[0-9,]+.|smrE.idq_rr.[0-9,]+.|smrE.idq_sr.[0-9,]+.|smrM.is.[0-9,]+.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.[0-9,]+.|smrE.idq_rr.[0-9,]+.|smrE.idq_sr.[0-9,]+.|smrM.is.[0-9,]+.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.051e-05, allocations: 2.312 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.1298/0.1299, allocations: 20.58 MB / 293.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009671/0.1395, allocations: 6.11 MB / 299.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.1425, allocations: 170.3 kB / 299.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.1453, allocations: 1.39 MB / 301.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004233/0.1495, allocations: 2.037 MB / 303.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.1515, allocations: 1.262 MB / 304.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005742/0.1573, allocations: 6.441 MB / 311 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0036/0.1609, allocations: 2.951 MB / 314 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004968/0.1658, allocations: 4.336 MB / 318.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003747/0.1696, allocations: 3.181 MB / 321.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001502/0.1711, allocations: 0.7812 MB / 322.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.1734, allocations: 1.074 MB / 323.3 MB, free: 176 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.1751, allocations: 2.039 MB / 325.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002862/0.178, allocations: 2.322 MB / 327.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006266/0.1842, allocations: 5.476 MB / 333.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1842, allocations: 0 / 333.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1842, allocations: 0 / 333.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001303/0.1844, allocations: 0 / 333.2 MB, free: 6.676 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.009029/0.1934, allocations: 6.965 MB / 340.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1934, allocations: 11.98 kB / 340.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.1965, allocations: 1.59 MB / 341.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/0.2004, allocations: 3.411 MB / 345.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.2006, allocations: 382.6 kB / 345.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005069/0.2011, allocations: 0.5042 MB / 346 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005507/0.2066, allocations: 4.115 MB / 350.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-05/0.2067, allocations: 14.8 kB / 350.2 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.207, allocations: 216 kB / 350.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.2072, allocations: 250.1 kB / 350.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.211, allocations: 1.95 MB / 352.6 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.2286, allocations: 16.84 MB / 369.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/0.2322, allocations: 2.717 MB / 372.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.2337, allocations: 1.128 MB / 373.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00564/0.2393, allocations: 3.691 MB / 376.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.404e-05/0.2394, allocations: 63.39 kB / 377 MB, free: 10.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=205): time 4.659e-06/0.2394, allocations: 0 / 377 MB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=222): time 0.01407/0.2535, allocations: 5.734 MB / 382.7 MB, free: 4.469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.2535, allocations: 77.34 kB / 382.8 MB, free: 4.383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/0.257, allocations: 2.281 MB / 385.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.2571, allocations: 61.7 kB / 385.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.2583, allocations: 2.54 MB / 387.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004469/0.2587, allocations: 0.8214 MB / 388.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005404/0.2593, allocations: 0.5286 MB / 389 MB, free: 14.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.2594, allocations: 476.8 kB / 389.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000739/0.2601, allocations: 441.6 kB / 389.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.2616, allocations: 1.763 MB / 391.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.2642, allocations: 2.412 MB / 394.1 MB, free: 7.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/0.2642, allocations: 12 kB / 394.1 MB, free: 7.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.004965/0.2692, allocations: 2.63 MB / 396.8 MB, free: 5.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.2692, allocations: 16.53 kB / 396.8 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.611e-05/0.2692, allocations: 32 kB / 396.8 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009929/0.2702, allocations: 363.7 kB / 397.2 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.2724, allocations: 0.6785 MB / 397.8 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007698/0.2801, allocations: 10.49 MB / 408.3 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.2821, allocations: 171.8 kB / 408.5 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.2823, allocations: 128.1 kB / 408.6 MB, free: 8.707 MB / 362.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 (345): * Single equations (assignments): 338 * 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,6,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.001249/0.2836, allocations: 351.5 kB / 409 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006717/0.2843, allocations: 382 kB / 409.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004352/0.2886, allocations: 2.092 MB / 411.4 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.2886, allocations: 20 kB / 411.4 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.137e-05/0.2887, allocations: 12 kB / 411.5 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.2887, allocations: 15.91 kB / 411.5 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.299, allocations: 5.612 MB / 417.1 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.299, allocations: 7.938 kB / 417.1 MB, free: 16 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.3004, allocations: 372.1 kB / 417.5 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.3022, allocations: 0.5394 MB / 418 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.3024, allocations: 59.97 kB / 418.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1353/0.4377, allocations: 17.2 MB / 435.3 MB, free: 110.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4377, allocations: 8.406 kB / 435.3 MB, free: 110.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004367/0.4421, allocations: 2.849 MB / 438.1 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009644/0.4431, allocations: 0.536 MB / 438.6 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.4433, allocations: 55.08 kB / 438.7 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007767/0.4441, allocations: 125 kB / 438.8 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/0.4444, allocations: 179.1 kB / 439 MB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.4446, allocations: 68.89 kB / 439.1 MB, free: 109.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001592/0.4461, allocations: 1.262 MB / 440.3 MB, free: 109.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4461, allocations: 0 / 440.3 MB, free: 109.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00229/0.4484, allocations: 0.9323 MB / 441.3 MB, free: 109.4 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 (182): * Single equations (assignments): 174 * 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,6,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.0004073/0.4488, allocations: 265.4 kB / 441.5 MB, free: 109.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.4517, allocations: 2.619 MB / 444.1 MB, free: 108.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4518, allocations: 5.094 kB / 444.1 MB, free: 108.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.4536, allocations: 2.427 MB / 446.6 MB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.4557, allocations: 0.7416 MB / 447.3 MB, free: 106.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.466, allocations: 8.253 MB / 455.6 MB, free: 103.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009807/0.467, allocations: 1.251 MB / 456.8 MB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001401/0.4684, allocations: 0.6059 MB / 457.4 MB, free: 103 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/0.4689, allocations: 214.7 kB / 457.6 MB, free: 103 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.4689, allocations: 0 / 457.6 MB, free: 103 MB / 378.7 MB Notification: Performance of Templates: time 0.05026/0.5192, allocations: 41.18 MB / 498.8 MB, free: 66.43 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2995501139666885]