Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.002196/0.002196, allocations: 109.8 kB / 21.93 MB, free: 5.223 MB / 14.72 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.002577/0.002577, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 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.568/1.568, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 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.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 66.52 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2888, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01133/0.3002, allocations: 12.3 MB / 409.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02613/0.3263, allocations: 17.11 MB / 427 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003763/0.3301, allocations: 138.7 kB / 427.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00419/0.3343, allocations: 1.132 MB / 428.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.3447, allocations: 2.366 MB / 430.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005848/0.3506, allocations: 1.357 MB / 432 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.3628, allocations: 6.496 MB / 438.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007915/0.3636, allocations: 266.3 kB / 438.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.3655, allocations: 1.089 MB / 439.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.367, allocations: 1.071 MB / 440.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.3673, allocations: 76 kB / 441 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/0.3712, allocations: 1.081 MB / 442.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.3716, allocations: 341.5 kB / 442.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.3732, allocations: 1.063 MB / 443.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007543/0.3807, allocations: 4.068 MB / 447.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3807, allocations: 0 / 447.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3807, allocations: 0 / 447.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.805e-05/0.3808, allocations: 0 / 447.5 MB, free: 1.07 MB / 350.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.006567/0.3874, allocations: 3.902 MB / 451.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.3874, allocations: 15.98 kB / 451.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006026/0.388, allocations: 433.2 kB / 451.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/0.3921, allocations: 2.369 MB / 454.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.3921, allocations: 44.92 kB / 454.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.3923, allocations: 51.95 kB / 454.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.3937, allocations: 0.7304 MB / 455.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3937, allocations: 4 kB / 455.1 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/0.3938, allocations: 23.98 kB / 455.1 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.3938, allocations: 16 kB / 455.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.3955, allocations: 0.8202 MB / 455.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005803/0.4013, allocations: 2.816 MB / 458.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.4026, allocations: 0.5358 MB / 459.3 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.4037, allocations: 0.5689 MB / 459.9 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04124/0.4449, allocations: 13.73 MB / 473.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.4461, allocations: 373.5 kB / 474 MB, free: 6.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 4.638e-06/0.4461, allocations: 0 / 474 MB, free: 6.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.003764/0.4498, allocations: 1.126 MB / 475.1 MB, free: 4.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.4499, allocations: 59.39 kB / 475.1 MB, free: 4.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006866/0.4568, allocations: 3.127 MB / 478.3 MB, free: 1.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.4569, allocations: 41.7 kB / 478.3 MB, free: 1.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.4592, allocations: 1.582 MB / 479.9 MB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003903/0.4596, allocations: 174.8 kB / 480.1 MB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005068/0.4601, allocations: 238.3 kB / 480.3 MB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.4603, allocations: 334 kB / 480.6 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009339/0.4613, allocations: 249.8 kB / 480.9 MB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.4626, allocations: 0.6018 MB / 481.5 MB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/0.4649, allocations: 0.9012 MB / 482.4 MB, free: 13.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.4649, allocations: 0 / 482.4 MB, free: 13.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003683/0.4686, allocations: 1.27 MB / 483.6 MB, free: 11.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.4686, allocations: 8 kB / 483.6 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/0.4688, allocations: 84 kB / 483.7 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.967e-05/0.4688, allocations: 23.97 kB / 483.7 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.4699, allocations: 195.7 kB / 483.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.209e-05/0.4699, allocations: 32.17 kB / 484 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.4719, allocations: 111.3 kB / 484.1 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.472, allocations: 67.98 kB / 484.1 MB, free: 11.42 MB / 398.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.001334/0.4734, allocations: 453.5 kB / 484.6 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007639/0.4741, allocations: 425.3 kB / 485 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.4783, allocations: 1.215 MB / 486.2 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4783, allocations: 4 kB / 486.2 MB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4783, allocations: 0 / 486.2 MB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.4783, allocations: 3.984 kB / 486.2 MB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/0.4839, allocations: 1.996 MB / 488.2 MB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001698/0.4841, allocations: 75.98 kB / 488.3 MB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.4848, allocations: 91.92 kB / 488.4 MB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.4848, allocations: 0 / 488.4 MB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-05/0.4849, allocations: 36 kB / 488.4 MB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.4849, allocations: 4 kB / 488.4 MB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.4849, allocations: 3.938 kB / 488.4 MB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/0.4886, allocations: 1.34 MB / 489.8 MB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.4899, allocations: 447 kB / 490.2 MB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004329/0.4903, allocations: 12 kB / 490.2 MB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007061/0.491, allocations: 32.02 kB / 490.2 MB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.4912, allocations: 63.92 kB / 490.3 MB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/0.4913, allocations: 39.98 kB / 490.3 MB, free: 5.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003133/0.4944, allocations: 2.019 MB / 492.4 MB, free: 3.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4944, allocations: 0 / 492.4 MB, free: 3.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001442/0.4959, allocations: 0.6008 MB / 493 MB, free: 2.5 MB / 398.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.001242/0.4971, allocations: 0.7801 MB / 493.7 MB, free: 1.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.4989, allocations: 0.7823 MB / 494.5 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4989, allocations: 0 / 494.5 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.4997, allocations: 423.7 kB / 494.9 MB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.5017, allocations: 0.5396 MB / 495.5 MB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007399/0.5091, allocations: 4.7 MB / 0.4885 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.5104, allocations: 1.162 MB / 0.4896 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.5107, allocations: 159.4 kB / 0.4897 GB, free: 9.812 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5107, allocations: 8 kB / 0.4898 GB, free: 9.805 MB / 414.1 MB Notification: Performance of Templates: time 0.0665/0.5772, allocations: 40.61 MB / 0.5294 GB, free: 1.125 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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: 12.030082289129496]