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.001426/0.001426, allocations: 88.39 kB / 21.44 MB, free: 276 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.00139/0.00139, allocations: 164.2 kB / 24.71 MB, free: 3.543 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.298/1.298, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2e-05, allocations: 2.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02324/0.02326, allocations: 21.08 MB / 320 MB, free: 3.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1751/0.1984, allocations: 18.66 MB / 338.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.2027, allocations: 274.2 kB / 339 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004918/0.2076, allocations: 1.647 MB / 340.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.2192, allocations: 3.382 MB / 344 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006761/0.226, allocations: 1.574 MB / 345.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.017/0.243, allocations: 12.8 MB / 358.4 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.2441, allocations: 0.4966 MB / 358.9 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004476/0.2486, allocations: 2.723 MB / 361.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002968/0.2516, allocations: 1.44 MB / 363 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004562/0.252, allocations: 136 kB / 363.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004074/0.2561, allocations: 1.152 MB / 364.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006418/0.2568, allocations: 0.6048 MB / 364.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00228/0.259, allocations: 1.417 MB / 366.3 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007726/0.2668, allocations: 6.542 MB / 372.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2668, allocations: 0 / 372.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2668, allocations: 0 / 372.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001112/0.2669, allocations: 7.938 kB / 372.9 MB, free: 3.371 MB / 318.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.009871/0.2767, allocations: 6.819 MB / 379.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.2768, allocations: 15.98 kB / 379.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.2778, allocations: 0.7841 MB / 380.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007095/0.2849, allocations: 4.411 MB / 384.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/0.285, allocations: 70 kB / 385 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/0.2852, allocations: 99.95 kB / 385.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.2877, allocations: 1.301 MB / 386.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.2877, allocations: 0 / 386.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.2878, allocations: 40 kB / 386.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.2878, allocations: 43.97 kB / 386.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/0.2906, allocations: 1.488 MB / 387.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009841/0.3005, allocations: 5.143 MB / 393.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.3023, allocations: 0.8747 MB / 394 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.304, allocations: 1.064 MB / 395 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05065/0.3547, allocations: 27.1 MB / 422.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.3558, allocations: 0.5645 MB / 422.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 3.016e-06/0.3558, allocations: 0 / 422.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.003544/0.3593, allocations: 1.919 MB / 424.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.3594, allocations: 60.06 kB / 424.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007072/0.3664, allocations: 5.667 MB / 430.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.249e-05/0.3665, allocations: 37.7 kB / 430.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00294/0.3695, allocations: 2.953 MB / 433.3 MB, free: 5.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.3698, allocations: 309.4 kB / 433.6 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005526/0.3704, allocations: 426.9 kB / 434 MB, free: 5.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3705, allocations: 301.1 kB / 434.3 MB, free: 4.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008896/0.3714, allocations: 404.7 kB / 434.7 MB, free: 4.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.373, allocations: 1.091 MB / 435.8 MB, free: 3.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.3755, allocations: 1.611 MB / 437.4 MB, free: 1.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.3755, allocations: 8 kB / 437.4 MB, free: 1.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003908/0.3795, allocations: 2.253 MB / 439.7 MB, free: 14.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.3795, allocations: 12.19 kB / 439.7 MB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/0.3797, allocations: 172 kB / 439.9 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.781e-05/0.3798, allocations: 32 kB / 439.9 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.3811, allocations: 362.8 kB / 440.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.075e-05/0.3811, allocations: 53.75 kB / 440.3 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.3828, allocations: 186.7 kB / 440.5 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.383, allocations: 132 kB / 440.6 MB, free: 13.88 MB / 398.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.001413/0.3844, allocations: 0.7121 MB / 441.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008331/0.3852, allocations: 0.753 MB / 442.1 MB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005257/0.3905, allocations: 2.161 MB / 444.2 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.3905, allocations: 8 kB / 444.3 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3905, allocations: 0 / 444.3 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.3905, allocations: 15.97 kB / 444.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005724/0.3963, allocations: 3.376 MB / 447.6 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002043/0.3965, allocations: 136 kB / 447.8 MB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.3973, allocations: 155.8 kB / 447.9 MB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.3973, allocations: 7.938 kB / 447.9 MB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.3974, allocations: 59.98 kB / 448 MB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3974, allocations: 4.062 kB / 448 MB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3974, allocations: 4 kB / 448 MB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003845/0.4012, allocations: 2.206 MB / 450.2 MB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.4027, allocations: 0.782 MB / 451 MB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00055/0.4033, allocations: 12 kB / 451 MB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.4045, allocations: 35.97 kB / 451 MB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.4047, allocations: 100.5 kB / 451.1 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.4049, allocations: 71.98 kB / 451.2 MB, free: 3.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.005614/0.4105, allocations: 3.629 MB / 454.8 MB, free: 15.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4105, allocations: 0 / 454.8 MB, free: 15.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002574/0.4131, allocations: 1.092 MB / 455.9 MB, free: 14.49 MB / 414.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.002129/0.4152, allocations: 1.279 MB / 457.2 MB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002811/0.418, allocations: 1.369 MB / 458.6 MB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.418, allocations: 0 / 458.6 MB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.4193, allocations: 0.7371 MB / 459.3 MB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/0.423, allocations: 0.9955 MB / 460.3 MB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.4347, allocations: 8.168 MB / 468.5 MB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/0.4367, allocations: 2.115 MB / 470.6 MB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001952/0.4387, allocations: 0.6888 MB / 471.3 MB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.4391, allocations: 296.4 kB / 471.6 MB, free: 14.66 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4391, allocations: 0 / 471.6 MB, free: 14.66 MB / 430.1 MB Notification: Performance of Templates: time 0.225/0.6641, allocations: 57.59 MB / 0.5168 GB, free: 117.5 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins/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: 6.4762422405183315]