Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.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.002517/0.002517, allocations: 91.61 kB / 20.96 MB, free: 3.438 MB / 18.57 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.002742/0.002742, allocations: 156.9 kB / 24.27 MB, free: 140 kB / 18.57 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.597/1.597, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 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.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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.785e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.1401/0.1401, allocations: 25.28 MB / 297.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02463/0.1647, allocations: 21.38 MB / 318.9 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005374/0.1701, allocations: 270 kB / 319.1 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004896/0.175, allocations: 1.688 MB / 320.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.1877, allocations: 3.431 MB / 324.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005757/0.1934, allocations: 1.631 MB / 325.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0246/0.218, allocations: 13.26 MB / 339.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.2196, allocations: 0.4892 MB / 339.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00642/0.226, allocations: 2.984 MB / 342.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.2294, allocations: 1.506 MB / 344.1 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005193/0.23, allocations: 136 kB / 344.2 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004496/0.2344, allocations: 1.272 MB / 345.5 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007849/0.2352, allocations: 0.6048 MB / 346.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002956/0.2382, allocations: 1.406 MB / 347.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.2491, allocations: 6.522 MB / 354.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2491, allocations: 0 / 354.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2491, allocations: 0 / 354.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001545/0.2492, allocations: 0 / 354.1 MB, free: 15.65 MB / 314.7 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.01343/0.2627, allocations: 7.445 MB / 361.5 MB, free: 8.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2627, allocations: 11.98 kB / 361.5 MB, free: 8.109 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.264, allocations: 0.8467 MB / 362.4 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009235/0.2733, allocations: 4.971 MB / 367.3 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-05/0.2734, allocations: 74 kB / 367.4 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.2736, allocations: 99.91 kB / 367.5 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.276, allocations: 1.129 MB / 368.6 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.276, allocations: 0 / 368.6 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.2762, allocations: 39.94 kB / 368.7 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/0.2762, allocations: 39.97 kB / 368.7 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.2791, allocations: 1.3 MB / 370 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/0.2929, allocations: 6.235 MB / 376.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.2946, allocations: 0.7163 MB / 377 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.2966, allocations: 0.9192 MB / 377.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06191/0.3585, allocations: 30.31 MB / 408.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.3596, allocations: 0.5467 MB / 408.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 2.585e-06/0.3596, allocations: 0 / 408.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.004019/0.3636, allocations: 1.864 MB / 410.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.3637, allocations: 60.06 kB / 410.7 MB, free: 5.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/0.3753, allocations: 7.508 MB / 418.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.3755, allocations: 41.7 kB / 418.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004135/0.3796, allocations: 3.505 MB / 421.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004935/0.3801, allocations: 325.4 kB / 422 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006931/0.3808, allocations: 460.6 kB / 422.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002532/0.3811, allocations: 488.7 kB / 423 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/0.382, allocations: 375.8 kB / 423.3 MB, free: 9.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.3839, allocations: 1.397 MB / 424.7 MB, free: 7.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/0.3869, allocations: 1.906 MB / 426.6 MB, free: 5.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/0.3869, allocations: 8.5 kB / 426.6 MB, free: 5.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004514/0.3915, allocations: 2.265 MB / 428.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.3915, allocations: 16 kB / 428.9 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002366/0.3917, allocations: 160.1 kB / 429.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.088e-05/0.3918, allocations: 39.98 kB / 429.1 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.393, allocations: 357.3 kB / 429.5 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.227e-05/0.3931, allocations: 51.84 kB / 429.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.395, allocations: 186.6 kB / 429.7 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/0.3953, allocations: 124 kB / 429.8 MB, free: 1.859 MB / 378.7 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.001683/0.397, allocations: 0.7538 MB / 430.6 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/0.3983, allocations: 0.7765 MB / 431.3 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1276/0.5259, allocations: 2.097 MB / 433.4 MB, free: 125.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.5259, allocations: 7.156 kB / 433.4 MB, free: 125.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5259, allocations: 1.766 kB / 433.4 MB, free: 125.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.5259, allocations: 3 kB / 433.5 MB, free: 125.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008068/0.534, allocations: 4.531 MB / 438 MB, free: 124 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001955/0.5342, allocations: 138.8 kB / 438.1 MB, free: 124 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/0.535, allocations: 147 kB / 438.3 MB, free: 124 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.535, allocations: 3.766 kB / 438.3 MB, free: 124 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.5351, allocations: 61.53 kB / 438.3 MB, free: 123.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.5351, allocations: 7.844 kB / 438.3 MB, free: 123.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5351, allocations: 1.234 kB / 438.3 MB, free: 123.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/0.5389, allocations: 2.202 MB / 440.5 MB, free: 123.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.5409, allocations: 0.8159 MB / 441.4 MB, free: 122.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006304/0.5415, allocations: 14.97 kB / 441.4 MB, free: 122.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.5426, allocations: 27.84 kB / 441.4 MB, free: 122.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.5428, allocations: 100.8 kB / 441.5 MB, free: 122.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.543, allocations: 71.48 kB / 441.6 MB, free: 122.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006019/0.549, allocations: 4.182 MB / 445.7 MB, free: 121.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.549, allocations: 0 / 445.7 MB, free: 121.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002424/0.5514, allocations: 1.087 MB / 446.8 MB, free: 121.3 MB / 378.7 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.001646/0.553, allocations: 1.293 MB / 448.1 MB, free: 121.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.5551, allocations: 1.414 MB / 449.5 MB, free: 120.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5551, allocations: 0 / 449.5 MB, free: 120.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008781/0.556, allocations: 0.7535 MB / 450.3 MB, free: 119.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004663/0.5607, allocations: 1.221 MB / 451.5 MB, free: 118.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008042/0.5687, allocations: 8.31 MB / 459.8 MB, free: 110.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.5699, allocations: 2.104 MB / 461.9 MB, free: 108.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001714/0.5716, allocations: 0.6846 MB / 462.6 MB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.572, allocations: 288.5 kB / 462.9 MB, free: 107.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.572, allocations: 0 / 462.9 MB, free: 107.8 MB / 378.7 MB Notification: Performance of Templates: time 0.07789/0.6498, allocations: 57.65 MB / 0.5083 GB, free: 51.05 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.801872035022825]