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.00138/0.00138, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.00154/0.00154, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.463/1.463, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.001827/0.001827, allocations: 66.56 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2654, allocations: 49.15 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01076/0.2761, allocations: 12.31 MB / 409.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0274/0.3035, allocations: 17.11 MB / 426.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.3069, allocations: 141.1 kB / 426.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004571/0.3114, allocations: 1.126 MB / 427.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.3226, allocations: 2.369 MB / 429.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006311/0.3289, allocations: 1.355 MB / 431.2 MB, free: 448 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01226/0.3412, allocations: 6.497 MB / 437.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/0.3419, allocations: 270.2 kB / 438 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.3437, allocations: 1.089 MB / 439.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.3451, allocations: 1.067 MB / 440.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.3454, allocations: 72 kB / 440.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.349, allocations: 1.089 MB / 441.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.3494, allocations: 341.4 kB / 441.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.3506, allocations: 1.055 MB / 442.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.3562, allocations: 4.071 MB / 446.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3562, allocations: 0 / 446.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3562, allocations: 0 / 446.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.436e-05/0.3563, allocations: 0 / 446.8 MB, free: 1.062 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.006097/0.3624, allocations: 3.914 MB / 450.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.3624, allocations: 11.98 kB / 450.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005182/0.363, allocations: 437.2 kB / 451.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003996/0.3669, allocations: 2.361 MB / 453.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.367, allocations: 40.94 kB / 453.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.3671, allocations: 55.95 kB / 453.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.3686, allocations: 0.7343 MB / 454.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3687, allocations: 3.984 kB / 454.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.3687, allocations: 20 kB / 454.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.3687, allocations: 23.98 kB / 454.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.3705, allocations: 0.8202 MB / 455.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005612/0.3761, allocations: 2.812 MB / 458 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3773, allocations: 0.5177 MB / 458.5 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.3784, allocations: 0.5768 MB / 459.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02923/0.4077, allocations: 13.75 MB / 472.8 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009186/0.4086, allocations: 365.6 kB / 473.2 MB, free: 6.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 2.815e-06/0.4086, allocations: 0 / 473.2 MB, free: 6.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.002583/0.4112, allocations: 1.134 MB / 474.3 MB, free: 4.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.4112, allocations: 59.34 kB / 474.4 MB, free: 4.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004529/0.4158, allocations: 3.135 MB / 477.5 MB, free: 1.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.4158, allocations: 33.7 kB / 477.6 MB, free: 1.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.4175, allocations: 1.582 MB / 479.1 MB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.4177, allocations: 178.8 kB / 479.3 MB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.418, allocations: 230.3 kB / 479.5 MB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4182, allocations: 341.9 kB / 479.9 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.4188, allocations: 237.9 kB / 480.1 MB, free: 15.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/0.4197, allocations: 0.6095 MB / 480.7 MB, free: 14.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.4213, allocations: 0.8974 MB / 481.6 MB, free: 13.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4213, allocations: 4 kB / 481.6 MB, free: 13.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00243/0.4237, allocations: 1.262 MB / 482.9 MB, free: 11.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.4238, allocations: 12 kB / 482.9 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/0.4239, allocations: 83.98 kB / 483 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/0.4239, allocations: 16 kB / 483 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/0.4247, allocations: 204 kB / 483.2 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/0.4247, allocations: 23.94 kB / 483.2 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.4258, allocations: 115.2 kB / 483.3 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.4259, allocations: 68 kB / 483.4 MB, free: 11.41 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.000811/0.4267, allocations: 449.5 kB / 483.8 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/0.4271, allocations: 425.3 kB / 484.2 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.4299, allocations: 1.215 MB / 485.5 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.4299, allocations: 4 kB / 485.5 MB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4299, allocations: 0 / 485.5 MB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.4299, allocations: 15.91 kB / 485.5 MB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.4336, allocations: 1.996 MB / 487.5 MB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001237/0.4337, allocations: 71.98 kB / 487.5 MB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/0.4342, allocations: 95.92 kB / 487.6 MB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.4342, allocations: 4 kB / 487.6 MB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/0.4343, allocations: 35.98 kB / 487.7 MB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4343, allocations: 0 / 487.7 MB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4343, allocations: 4 kB / 487.7 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.4368, allocations: 1.336 MB / 489 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.4378, allocations: 439 kB / 489.4 MB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/0.4381, allocations: 11.98 kB / 489.5 MB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/0.4388, allocations: 36.03 kB / 489.5 MB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.439, allocations: 67.86 kB / 489.6 MB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/0.4391, allocations: 36 kB / 489.6 MB, free: 5.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003123/0.4422, allocations: 2.023 MB / 491.6 MB, free: 3.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4422, allocations: 0 / 491.6 MB, free: 3.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001915/0.4441, allocations: 0.5969 MB / 492.2 MB, free: 2.496 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.001433/0.4456, allocations: 0.7762 MB / 493 MB, free: 1.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.4475, allocations: 0.7821 MB / 493.8 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4475, allocations: 0 / 493.8 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008515/0.4483, allocations: 428 kB / 494.2 MB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.4505, allocations: 0.5383 MB / 494.7 MB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008316/0.4588, allocations: 4.636 MB / 499.4 MB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.4601, allocations: 1.166 MB / 0.4888 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00122/0.4614, allocations: 365.4 kB / 0.4891 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.4616, allocations: 151.4 kB / 0.4893 GB, free: 9.52 MB / 414.1 MB Notification: Performance of SimCode: time 1.834e-06/0.4616, allocations: 3.938 kB / 0.4893 GB, free: 9.516 MB / 414.1 MB Notification: Performance of Templates: time 0.0665/0.5281, allocations: 37.75 MB / 0.5262 GB, free: 3.668 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins/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: 6.009816437959671]