Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.002046/0.002046, allocations: 107.8 kB / 19.17 MB, free: 3.871 MB / 14.72 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.002344/0.002344, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 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 1.568/1.568, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.115, allocations: 53.31 MB / 427.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.2339/0.3489, allocations: 14.77 MB / 442.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02856/0.3774, allocations: 20.76 MB / 463.4 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004415/0.3818, allocations: 94.56 kB / 463.4 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00528/0.3871, allocations: 1.233 MB / 464.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.3996, allocations: 2.335 MB / 467 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007105/0.4067, allocations: 1.436 MB / 468.5 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.4204, allocations: 6.582 MB / 475 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009797/0.4214, allocations: 277.1 kB / 475.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.4242, allocations: 1.104 MB / 476.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.4269, allocations: 1.116 MB / 477.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.4272, allocations: 74.09 kB / 477.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006645/0.4338, allocations: 1.481 MB / 479.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006253/0.4344, allocations: 331.1 kB / 479.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003116/0.4375, allocations: 1.367 MB / 480.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009133/0.4467, allocations: 3.792 MB / 484.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4467, allocations: 0 / 484.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4467, allocations: 0 / 484.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001133/0.4468, allocations: 0 / 484.6 MB, free: 8.039 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.006663/0.4535, allocations: 3.812 MB / 488.4 MB, free: 4.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4535, allocations: 16.03 kB / 488.4 MB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.4541, allocations: 412.5 kB / 488.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003711/0.4578, allocations: 2.457 MB / 491.2 MB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.4578, allocations: 40.98 kB / 491.3 MB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.458, allocations: 48 kB / 491.3 MB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.4594, allocations: 0.7226 MB / 492.1 MB, free: 396 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4594, allocations: 4 kB / 492.1 MB, free: 392 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.4595, allocations: 20 kB / 492.1 MB, free: 372 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.4595, allocations: 23.98 kB / 492.1 MB, free: 348 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.4612, allocations: 0.8163 MB / 492.9 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/0.4673, allocations: 3.063 MB / 496 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.4685, allocations: 0.5143 MB / 496.5 MB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.4696, allocations: 0.5618 MB / 497.1 MB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0334/0.503, allocations: 30.75 MB / 0.5154 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008347/0.5038, allocations: 365.6 kB / 0.5158 GB, free: 7.914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.696e-06/0.5038, allocations: 0 / 0.5158 GB, free: 7.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.002582/0.5064, allocations: 1.11 MB / 0.5169 GB, free: 6.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.5065, allocations: 59.41 kB / 0.5169 GB, free: 6.723 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003876/0.5103, allocations: 2.935 MB / 0.5198 GB, free: 3.777 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/0.5104, allocations: 37.7 kB / 0.5198 GB, free: 3.734 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.5118, allocations: 1.495 MB / 0.5213 GB, free: 2.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.512, allocations: 182.5 kB / 0.5215 GB, free: 2.051 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.5123, allocations: 226.4 kB / 0.5217 GB, free: 1.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5125, allocations: 341.9 kB / 0.522 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.5131, allocations: 241.8 kB / 0.5222 GB, free: 1.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.514, allocations: 0.5981 MB / 0.5228 GB, free: 488 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.5156, allocations: 0.8974 MB / 0.5237 GB, free: 15.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.5156, allocations: 7.938 kB / 0.5237 GB, free: 15.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002513/0.5181, allocations: 1.245 MB / 0.5249 GB, free: 14.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.5181, allocations: 12 kB / 0.5249 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/0.5183, allocations: 83.98 kB / 0.525 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.973e-05/0.5183, allocations: 16 kB / 0.525 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.5191, allocations: 204.3 kB / 0.5252 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-05/0.5191, allocations: 27.88 kB / 0.5252 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.5203, allocations: 115.2 kB / 0.5254 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.5204, allocations: 68 kB / 0.5254 GB, free: 13.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008237/0.5212, allocations: 433.4 kB / 0.5258 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/0.5217, allocations: 401.5 kB / 0.5262 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.5246, allocations: 1.189 MB / 0.5274 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.5246, allocations: 4 kB / 0.5274 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5246, allocations: 0 / 0.5274 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.5246, allocations: 7.969 kB / 0.5274 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.5283, allocations: 2.096 MB / 0.5294 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.986e-05/0.5284, allocations: 68 kB / 0.5295 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.5289, allocations: 95.86 kB / 0.5296 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.5289, allocations: 0.875 kB / 0.5296 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.529, allocations: 35.98 kB / 0.5296 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.529, allocations: 4 kB / 0.5296 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.529, allocations: 0 / 0.5296 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.5315, allocations: 1.314 MB / 0.5309 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/0.5323, allocations: 498.3 kB / 0.5314 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.5326, allocations: 12 kB / 0.5314 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/0.5332, allocations: 28.64 kB / 0.5314 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.5334, allocations: 67.95 kB / 0.5315 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-05/0.5335, allocations: 43.92 kB / 0.5315 GB, free: 7.238 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002697/0.5362, allocations: 1.903 MB / 0.5334 GB, free: 5.336 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5362, allocations: 0 / 0.5334 GB, free: 5.336 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001601/0.5378, allocations: 0.5891 MB / 0.534 GB, free: 4.746 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001317/0.5391, allocations: 0.7781 MB / 0.5347 GB, free: 3.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.5409, allocations: 0.7787 MB / 0.5355 GB, free: 3.156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5409, allocations: 0 / 0.5355 GB, free: 3.156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.5417, allocations: 423 kB / 0.5359 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/0.5448, allocations: 0.6169 MB / 0.5365 GB, free: 2.105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00767/0.5524, allocations: 4.453 MB / 0.5408 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.5538, allocations: 1.665 MB / 0.5425 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/0.5543, allocations: 163.4 kB / 0.5426 GB, free: 11.75 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5543, allocations: 0 / 0.5426 GB, free: 11.75 MB / 462.1 MB Notification: Performance of Templates: time 0.0656/0.6199, allocations: 37.8 MB / 0.5795 GB, free: 5.98 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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: 10.907627803971991]