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.001051/0.001051, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001236/0.001236, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9836/0.9836, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.924e-06/1.924e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.455e-05, allocations: 2.312 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.1423/0.1424, allocations: 25.38 MB / 298.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0247/0.1671, allocations: 21.45 MB / 319.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005786/0.1728, allocations: 266.9 kB / 320 MB, free: 468 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00498/0.1778, allocations: 1.683 MB / 321.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.1898, allocations: 3.433 MB / 325.1 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005675/0.1954, allocations: 1.64 MB / 326.8 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01699/0.2124, allocations: 13.49 MB / 340.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.214, allocations: 0.4926 MB / 340.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005514/0.2195, allocations: 2.988 MB / 343.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.2221, allocations: 1.502 MB / 345.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005125/0.2227, allocations: 136 kB / 345.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003747/0.2264, allocations: 1.272 MB / 346.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004149/0.2268, allocations: 0.6048 MB / 347.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.2287, allocations: 1.398 MB / 348.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006645/0.2354, allocations: 4.652 MB / 353.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2354, allocations: 4 kB / 353.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.2354, allocations: 7.922 kB / 353.3 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002899/0.2357, allocations: 0 / 353.3 MB, free: 0.6719 MB / 298.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.007734/0.2434, allocations: 7.132 MB / 360.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.2435, allocations: 19.98 kB / 360.4 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009069/0.2444, allocations: 0.8428 MB / 361.3 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005377/0.2498, allocations: 4.967 MB / 366.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.2498, allocations: 69.94 kB / 366.3 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.25, allocations: 99.91 kB / 366.4 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.2513, allocations: 0.9346 MB / 367.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.2513, allocations: 0 / 367.4 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/0.2514, allocations: 39.94 kB / 367.4 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.2514, allocations: 47.97 kB / 367.4 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.2526, allocations: 0.9142 MB / 368.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007411/0.26, allocations: 5.307 MB / 373.7 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.2608, allocations: 0.5792 MB / 374.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007787/0.2615, allocations: 0.8048 MB / 375 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03231/0.2939, allocations: 29.99 MB / 405 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008423/0.2947, allocations: 455.7 kB / 405.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 5.941e-06/0.2947, allocations: 4 kB / 405.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.003808/0.2985, allocations: 1.575 MB / 407.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.2986, allocations: 64 kB / 407.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006585/0.3052, allocations: 6.005 MB / 413.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.3054, allocations: 37.7 kB / 413.2 MB, free: 3.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001953/0.3073, allocations: 3.259 MB / 416.4 MB, free: 448 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.3076, allocations: 309.4 kB / 416.7 MB, free: 136 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.3079, allocations: 428.9 kB / 417.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.308, allocations: 484.5 kB / 417.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.3084, allocations: 239.9 kB / 417.9 MB, free: 15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.3092, allocations: 1.233 MB / 419.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3103, allocations: 1.624 MB / 420.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.3103, allocations: 8 kB / 420.7 MB, free: 11.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001989/0.3123, allocations: 2.011 MB / 422.7 MB, free: 9.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.3124, allocations: 16 kB / 422.7 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/0.3125, allocations: 164.1 kB / 422.9 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/0.3125, allocations: 36 kB / 422.9 MB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.3132, allocations: 355.4 kB / 423.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.318e-05/0.3133, allocations: 47.8 kB / 423.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009198/0.3142, allocations: 187.7 kB / 423.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.3143, allocations: 128 kB / 423.6 MB, free: 8.285 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.0005009/0.3148, allocations: 267.9 kB / 423.9 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004919/0.3153, allocations: 0.7726 MB / 424.7 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.3176, allocations: 1.921 MB / 426.6 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.3176, allocations: 8 kB / 426.6 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3176, allocations: 0 / 426.6 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3176, allocations: 7.922 kB / 426.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/0.3213, allocations: 3.693 MB / 430.3 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001187/0.3215, allocations: 140 kB / 430.4 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.3218, allocations: 140.6 kB / 430.6 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.3218, allocations: 7.984 kB / 430.6 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/0.3219, allocations: 56 kB / 430.6 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.3219, allocations: 7.938 kB / 430.7 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3219, allocations: 0 / 430.7 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1383/0.4602, allocations: 1.849 MB / 432.5 MB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/0.4617, allocations: 0.8144 MB / 433.3 MB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006622/0.4624, allocations: 13.91 kB / 433.3 MB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/0.4632, allocations: 27.81 kB / 433.4 MB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.4634, allocations: 103.6 kB / 433.5 MB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.4635, allocations: 65.45 kB / 433.5 MB, free: 110.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004552/0.4681, allocations: 3.23 MB / 436.8 MB, free: 110.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4681, allocations: 0 / 436.8 MB, free: 110.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002219/0.4703, allocations: 1.087 MB / 437.8 MB, free: 110.2 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.001639/0.4719, allocations: 1.294 MB / 439.1 MB, free: 110.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.4736, allocations: 1.157 MB / 440.3 MB, free: 109.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4736, allocations: 0 / 440.3 MB, free: 109.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.4741, allocations: 0.6318 MB / 440.9 MB, free: 109.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/0.4779, allocations: 1.232 MB / 442.2 MB, free: 109.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.4885, allocations: 7.79 MB / 449.9 MB, free: 105.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/0.4893, allocations: 0.6877 MB / 450.6 MB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002468/0.4917, allocations: 0.6886 MB / 451.3 MB, free: 105.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.4923, allocations: 280.8 kB / 451.6 MB, free: 105.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.823e-06/0.4923, allocations: 0 / 451.6 MB, free: 105.3 MB / 378.7 MB Notification: Performance of Templates: time 0.05974/0.552, allocations: 57.92 MB / 0.4976 GB, free: 51.02 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.301979491021484]