Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.001474/0.001474, allocations: 84.06 kB / 20.49 MB, free: 1.387 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.001553/0.001553, allocations: 160.4 kB / 23.74 MB, free: 4.582 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.469/1.469, allocations: 177.1 MB / 204 MB, free: 9.266 MB / 190.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.InvertersExtendedModel,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.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_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 65.2 kB / 324.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1037, allocations: 53.38 MB / 378.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01579/0.1195, allocations: 12.91 MB / 391 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0261/0.1456, allocations: 17.96 MB / 409 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003351/0.149, allocations: 142.5 kB / 409.2 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003865/0.1528, allocations: 1.153 MB / 410.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008029/0.1609, allocations: 2.41 MB / 412.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004481/0.1653, allocations: 1.414 MB / 414.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.1771, allocations: 6.754 MB / 420.9 MB, free: 4.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006592/0.1778, allocations: 270.3 kB / 421.1 MB, free: 4.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.1804, allocations: 1.74 MB / 422.9 MB, free: 2.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.182, allocations: 1.106 MB / 424 MB, free: 1.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.1822, allocations: 76 kB / 424.1 MB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003884/0.1861, allocations: 1.198 MB / 425.3 MB, free: 452 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004483/0.1865, allocations: 333.5 kB / 425.6 MB, free: 116 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.1879, allocations: 1.052 MB / 426.6 MB, free: 15.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006979/0.1949, allocations: 4.044 MB / 430.7 MB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.1949, allocations: 7.984 kB / 430.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1949, allocations: 0 / 430.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001048/0.195, allocations: 0 / 430.7 MB, free: 10.98 MB / 398.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.007085/0.2021, allocations: 3.878 MB / 434.6 MB, free: 7.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.2022, allocations: 15.98 kB / 434.6 MB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005968/0.2028, allocations: 433.3 kB / 435 MB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.2067, allocations: 2.345 MB / 437.4 MB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/0.2068, allocations: 33 kB / 437.4 MB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.2069, allocations: 63.94 kB / 437.4 MB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.2085, allocations: 0.7304 MB / 438.2 MB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.2085, allocations: 3.938 kB / 438.2 MB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.2086, allocations: 20 kB / 438.2 MB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.2086, allocations: 23.98 kB / 438.2 MB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.2103, allocations: 0.8163 MB / 439 MB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005538/0.2159, allocations: 2.792 MB / 441.8 MB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.2172, allocations: 0.5236 MB / 442.4 MB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.2183, allocations: 0.5653 MB / 442.9 MB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02757/0.2458, allocations: 13.75 MB / 456.7 MB, free: 400 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008192/0.2467, allocations: 362 kB / 457 MB, free: 24 kB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.425e-06/0.2467, allocations: 0 / 457 MB, free: 24 kB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002432/0.2491, allocations: 1.124 MB / 458.1 MB, free: 14.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.2491, allocations: 59.34 kB / 458.2 MB, free: 14.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004086/0.2532, allocations: 3.114 MB / 461.3 MB, free: 11.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.2533, allocations: 33.7 kB / 461.4 MB, free: 11.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.2548, allocations: 1.589 MB / 462.9 MB, free: 10.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.255, allocations: 174.6 kB / 463.1 MB, free: 9.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/0.2554, allocations: 226.4 kB / 463.3 MB, free: 9.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2555, allocations: 341.9 kB / 463.7 MB, free: 9.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/0.2561, allocations: 241.8 kB / 463.9 MB, free: 9.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009365/0.2571, allocations: 0.6018 MB / 464.5 MB, free: 8.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.2586, allocations: 0.8984 MB / 465.4 MB, free: 7.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.2586, allocations: 0 / 465.4 MB, free: 7.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002359/0.261, allocations: 1.275 MB / 466.7 MB, free: 5.969 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.261, allocations: 15.94 kB / 466.7 MB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/0.2612, allocations: 84 kB / 466.8 MB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/0.2612, allocations: 16 kB / 466.8 MB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.2619, allocations: 200 kB / 467 MB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/0.262, allocations: 27.92 kB / 467 MB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.263, allocations: 111.3 kB / 467.1 MB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.2631, allocations: 64 kB / 467.2 MB, free: 5.461 MB / 430.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.0008554/0.2639, allocations: 451.5 kB / 467.6 MB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004691/0.2644, allocations: 425.3 kB / 468 MB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.2672, allocations: 1.208 MB / 469.3 MB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.2673, allocations: 4 kB / 469.3 MB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2673, allocations: 0 / 469.3 MB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.2673, allocations: 3.984 kB / 469.3 MB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/0.2709, allocations: 1.989 MB / 471.2 MB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001189/0.271, allocations: 71.98 kB / 471.3 MB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005131/0.2716, allocations: 91.98 kB / 471.4 MB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.2716, allocations: 7.938 kB / 471.4 MB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.2716, allocations: 28 kB / 471.4 MB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2716, allocations: 4 kB / 471.4 MB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2716, allocations: 0 / 471.4 MB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1765/0.4481, allocations: 1.342 MB / 472.8 MB, free: 88.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.4492, allocations: 438 kB / 473.2 MB, free: 88.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.4496, allocations: 14.62 kB / 473.2 MB, free: 88.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007133/0.4503, allocations: 27.56 kB / 473.3 MB, free: 88.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.4504, allocations: 67.19 kB / 473.3 MB, free: 88.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/0.4505, allocations: 38.12 kB / 473.4 MB, free: 88.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002892/0.4534, allocations: 2.01 MB / 475.4 MB, free: 88.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4534, allocations: 2.031 kB / 475.4 MB, free: 88.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001298/0.4547, allocations: 0.5973 MB / 476 MB, free: 88.06 MB / 430.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.001043/0.4558, allocations: 0.7684 MB / 476.7 MB, free: 87.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.4575, allocations: 0.7798 MB / 477.5 MB, free: 87.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4575, allocations: 0 / 477.5 MB, free: 87.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007389/0.4582, allocations: 429.5 kB / 477.9 MB, free: 87.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.4606, allocations: 0.6409 MB / 478.6 MB, free: 87.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.4661, allocations: 4.585 MB / 483.2 MB, free: 84.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.4672, allocations: 1.169 MB / 484.3 MB, free: 84.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001041/0.4683, allocations: 364.2 kB / 484.7 MB, free: 84.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.4685, allocations: 154.5 kB / 484.8 MB, free: 84.66 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4685, allocations: 0 / 484.8 MB, free: 84.66 MB / 430.1 MB Notification: Performance of Templates: time 0.04361/0.5121, allocations: 33.38 MB / 0.5061 GB, free: 55.3 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.877337638288736]