Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.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.00147/0.00147, allocations: 102.2 kB / 21.93 MB, free: 5.203 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.001629/0.001629, allocations: 202.2 kB / 25.22 MB, free: 3.145 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.534/1.534, allocations: 207.7 MB / 236.1 MB, free: 9.77 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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") [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.001828/0.001828, allocations: 59.92 kB / 348.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2555, allocations: 49.15 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.01952/0.275, allocations: 21.09 MB / 418.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03071/0.3057, allocations: 18.65 MB / 437.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006486/0.3122, allocations: 273 kB / 437.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005637/0.3179, allocations: 1.634 MB / 439.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.3307, allocations: 3.251 MB / 442.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006116/0.3368, allocations: 1.546 MB / 444 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02182/0.3587, allocations: 12.47 MB / 456.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.3601, allocations: 0.4888 MB / 457 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003865/0.364, allocations: 2.006 MB / 459 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.3675, allocations: 1.967 MB / 461 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005013/0.368, allocations: 136 kB / 461.1 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004872/0.3729, allocations: 1.152 MB / 462.2 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008814/0.3737, allocations: 0.601 MB / 462.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00371/0.3775, allocations: 1.944 MB / 464.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.3918, allocations: 6.784 MB / 471.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.3918, allocations: 0 / 471.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3918, allocations: 0 / 471.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002888/0.3921, allocations: 0 / 471.6 MB, free: 8.918 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01292/0.405, allocations: 6.902 MB / 478.5 MB, free: 1.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.4051, allocations: 11.98 kB / 478.5 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.4062, allocations: 0.788 MB / 479.3 MB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007438/0.4136, allocations: 4.399 MB / 483.7 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.4137, allocations: 66 kB / 483.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.4139, allocations: 107.9 kB / 483.8 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.4163, allocations: 1.309 MB / 485.2 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.4164, allocations: 0 / 485.2 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.4165, allocations: 36 kB / 485.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.4165, allocations: 43.73 kB / 485.2 MB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.4193, allocations: 1.496 MB / 486.7 MB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.4303, allocations: 5.144 MB / 491.9 MB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.4321, allocations: 0.8757 MB / 492.7 MB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.4338, allocations: 1.052 MB / 493.8 MB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05105/0.4849, allocations: 27.12 MB / 0.5087 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.486, allocations: 0.5528 MB / 0.5092 GB, free: 5.953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.506e-06/0.486, allocations: 4 kB / 0.5093 GB, free: 5.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.003758/0.4897, allocations: 1.915 MB / 0.5111 GB, free: 4.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.4898, allocations: 64.06 kB / 0.5112 GB, free: 3.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008087/0.4979, allocations: 5.671 MB / 0.5167 GB, free: 14.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.498, allocations: 37.7 kB / 0.5168 GB, free: 14.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00282/0.5009, allocations: 2.957 MB / 0.5196 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/0.5013, allocations: 317.4 kB / 0.5199 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005683/0.5018, allocations: 431 kB / 0.5204 GB, free: 10.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.502, allocations: 305.1 kB / 0.5207 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000883/0.5029, allocations: 399.8 kB / 0.521 GB, free: 9.867 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.5043, allocations: 1.099 MB / 0.5221 GB, free: 8.438 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.5067, allocations: 1.611 MB / 0.5237 GB, free: 6.496 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.5067, allocations: 8 kB / 0.5237 GB, free: 6.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003999/0.5107, allocations: 2.245 MB / 0.5259 GB, free: 4.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.5107, allocations: 12 kB / 0.5259 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002269/0.511, allocations: 164 kB / 0.526 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.951e-05/0.511, allocations: 39.98 kB / 0.5261 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5122, allocations: 360 kB / 0.5264 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.655e-05/0.5122, allocations: 47.8 kB / 0.5265 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.5141, allocations: 186.7 kB / 0.5267 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.5143, allocations: 131.9 kB / 0.5268 GB, free: 3.309 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001397/0.5157, allocations: 0.716 MB / 0.5275 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008863/0.5166, allocations: 0.7492 MB / 0.5282 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004628/0.5212, allocations: 2.167 MB / 0.5303 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.5212, allocations: 8 kB / 0.5303 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5212, allocations: 0 / 0.5303 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.5212, allocations: 3.984 kB / 0.5303 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006272/0.5275, allocations: 3.384 MB / 0.5336 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001995/0.5277, allocations: 140 kB / 0.5338 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/0.5284, allocations: 163.8 kB / 0.5339 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.5284, allocations: 4 kB / 0.5339 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.5286, allocations: 59.98 kB / 0.534 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.5286, allocations: 0 / 0.534 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.5286, allocations: 11.92 kB / 0.534 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/0.5323, allocations: 2.194 MB / 0.5361 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/0.5343, allocations: 0.7898 MB / 0.5369 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005708/0.5348, allocations: 12 kB / 0.5369 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.536, allocations: 39.91 kB / 0.537 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.5362, allocations: 108.5 kB / 0.5371 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.5364, allocations: 71.98 kB / 0.5371 GB, free: 8.582 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005546/0.5419, allocations: 3.629 MB / 0.5407 GB, free: 4.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5419, allocations: 0 / 0.5407 GB, free: 4.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002569/0.5445, allocations: 1.096 MB / 0.5418 GB, free: 3.887 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.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 (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001799/0.5463, allocations: 1.186 MB / 0.5429 GB, free: 2.688 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002569/0.5488, allocations: 1.366 MB / 0.5442 GB, free: 1.277 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5488, allocations: 0 / 0.5442 GB, free: 1.277 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.55, allocations: 0.7397 MB / 0.545 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/0.5535, allocations: 0.9883 MB / 0.5459 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.5661, allocations: 8.417 MB / 0.5542 GB, free: 7.027 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.5682, allocations: 2.119 MB / 0.5562 GB, free: 4.875 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000675/0.5689, allocations: 295.4 kB / 0.5565 GB, free: 4.586 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/0.5689, allocations: 0 / 0.5565 GB, free: 4.586 MB / 478.1 MB Notification: Performance of Templates: time 0.3073/0.8762, allocations: 74.2 MB / 0.629 GB, free: 94.21 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.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: 15.157222413923591]