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.001361/0.001361, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001481/0.001481, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.497/1.497, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.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.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 0.002031/0.002031, allocations: 68.02 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2986, allocations: 53.41 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02355/0.3221, allocations: 22.23 MB / 454.6 MB, free: 216 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03254/0.3547, allocations: 19.55 MB / 474.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007254/0.3619, allocations: 273.1 kB / 474.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006884/0.3688, allocations: 1.681 MB / 476.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.3812, allocations: 3.318 MB / 479.4 MB, free: 7.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007014/0.3882, allocations: 1.601 MB / 481 MB, free: 5.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02354/0.4117, allocations: 12.91 MB / 493.9 MB, free: 8.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.4132, allocations: 0.4887 MB / 494.4 MB, free: 8.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/0.4175, allocations: 2.213 MB / 496.6 MB, free: 5.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003999/0.4215, allocations: 2.014 MB / 498.7 MB, free: 3.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006271/0.4222, allocations: 132 kB / 498.8 MB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/0.4265, allocations: 1.264 MB / 0.4883 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008476/0.4274, allocations: 0.5932 MB / 0.4889 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003124/0.4305, allocations: 1.932 MB / 0.4908 GB, free: 28 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009849/0.4403, allocations: 6.742 MB / 0.4974 GB, free: 9.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4403, allocations: 0 / 0.4974 GB, free: 9.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4403, allocations: 0 / 0.4974 GB, free: 9.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001863/0.4405, allocations: 4 kB / 0.4974 GB, free: 9.25 MB / 414.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.01045/0.451, allocations: 6.851 MB / 0.5041 GB, free: 2.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.451, allocations: 15.98 kB / 0.5041 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.4521, allocations: 0.7841 MB / 0.5049 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007756/0.4598, allocations: 4.375 MB / 0.5091 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/0.4599, allocations: 66 kB / 0.5092 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.4601, allocations: 103.9 kB / 0.5093 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.4625, allocations: 1.309 MB / 0.5106 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.4625, allocations: 0 / 0.5106 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.4626, allocations: 36 kB / 0.5106 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.4627, allocations: 43.97 kB / 0.5106 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.4653, allocations: 1.476 MB / 0.5121 GB, free: 9.965 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.4756, allocations: 5.132 MB / 0.5171 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.4774, allocations: 0.8757 MB / 0.518 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.479, allocations: 1.059 MB / 0.519 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2649/0.7439, allocations: 27.06 MB / 0.5454 GB, free: 103 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.745, allocations: 0.5598 MB / 0.546 GB, free: 102.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 4.819e-06/0.745, allocations: 0 / 0.546 GB, free: 102.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.003492/0.7485, allocations: 1.913 MB / 0.5478 GB, free: 102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.7486, allocations: 60.06 kB / 0.5479 GB, free: 101.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006701/0.7553, allocations: 5.639 MB / 0.5534 GB, free: 96.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.7555, allocations: 37.7 kB / 0.5534 GB, free: 96.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00216/0.7576, allocations: 2.965 MB / 0.5563 GB, free: 93.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.7579, allocations: 307.4 kB / 0.5566 GB, free: 93.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005058/0.7584, allocations: 429.9 kB / 0.557 GB, free: 92.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.7585, allocations: 301.1 kB / 0.5573 GB, free: 92.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009076/0.7594, allocations: 399.8 kB / 0.5577 GB, free: 92.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.7605, allocations: 1.095 MB / 0.5588 GB, free: 90.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.7627, allocations: 1.608 MB / 0.5603 GB, free: 88.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.7627, allocations: 7.469 kB / 0.5603 GB, free: 88.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003891/0.7666, allocations: 2.24 MB / 0.5625 GB, free: 86.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.7666, allocations: 19.94 kB / 0.5626 GB, free: 86.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002007/0.7668, allocations: 160 kB / 0.5627 GB, free: 86.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.615e-05/0.7669, allocations: 36 kB / 0.5627 GB, free: 86.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.7682, allocations: 358 kB / 0.5631 GB, free: 86.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.534e-05/0.7682, allocations: 51.78 kB / 0.5631 GB, free: 86.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.7706, allocations: 189.2 kB / 0.5633 GB, free: 85.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.7708, allocations: 128 kB / 0.5634 GB, free: 85.84 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.001437/0.7723, allocations: 0.7145 MB / 0.5641 GB, free: 85.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008809/0.7731, allocations: 0.755 MB / 0.5649 GB, free: 84.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/0.7777, allocations: 2.149 MB / 0.567 GB, free: 82.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.7777, allocations: 8 kB / 0.567 GB, free: 82.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7777, allocations: 0 / 0.567 GB, free: 82.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.7777, allocations: 3.984 kB / 0.567 GB, free: 82.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005675/0.7834, allocations: 3.354 MB / 0.5703 GB, free: 78.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000185/0.7835, allocations: 140 kB / 0.5704 GB, free: 78.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008653/0.7844, allocations: 155.8 kB / 0.5705 GB, free: 78.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.7844, allocations: 11.55 kB / 0.5705 GB, free: 78.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.7845, allocations: 59.83 kB / 0.5706 GB, free: 78.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.7845, allocations: 4 kB / 0.5706 GB, free: 78.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7845, allocations: 0 / 0.5706 GB, free: 78.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003798/0.7883, allocations: 2.197 MB / 0.5728 GB, free: 76.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/0.7901, allocations: 0.7823 MB / 0.5735 GB, free: 75.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007141/0.7908, allocations: 12 kB / 0.5735 GB, free: 75.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.7924, allocations: 42.33 kB / 0.5736 GB, free: 75.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.7926, allocations: 96.56 kB / 0.5737 GB, free: 75.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.7928, allocations: 71.98 kB / 0.5737 GB, free: 75.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005416/0.7982, allocations: 3.608 MB / 0.5773 GB, free: 71.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7982, allocations: 0 / 0.5773 GB, free: 71.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002982/0.8012, allocations: 1.086 MB / 0.5783 GB, free: 70.79 MB / 446.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.001734/0.8029, allocations: 1.18 MB / 0.5795 GB, free: 69.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.8055, allocations: 1.363 MB / 0.5808 GB, free: 68.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8055, allocations: 0 / 0.5808 GB, free: 68.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.8066, allocations: 0.7358 MB / 0.5815 GB, free: 67.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005661/0.8122, allocations: 1.176 MB / 0.5827 GB, free: 66.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.8237, allocations: 8.363 MB / 0.5908 GB, free: 57.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.8252, allocations: 2.102 MB / 0.5929 GB, free: 55.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006217/0.8258, allocations: 303.2 kB / 0.5932 GB, free: 55.46 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.8258, allocations: 0 / 0.5932 GB, free: 55.46 MB / 446.1 MB Notification: Performance of Templates: time 0.1029/0.9288, allocations: 73.74 MB / 0.6652 GB, free: 14.03 MB / 478.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/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: 15.140497145242989]