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.00175/0.00175, allocations: 85.58 kB / 20.68 MB, free: 1.035 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.00213/0.00213, allocations: 157.4 kB / 23.95 MB, free: 4.168 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.433/1.433, allocations: 177 MB / 204.1 MB, free: 9.176 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.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.683e-06/1.683e-06, allocations: 0.7969 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.853e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02348/0.0235, allocations: 22.25 MB / 347.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02938/0.05288, allocations: 19.56 MB / 366.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005038/0.05792, allocations: 269.1 kB / 367.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.06258, allocations: 1.679 MB / 368.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.07427, allocations: 3.43 MB / 372.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00485/0.07912, allocations: 1.636 MB / 373.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02251/0.1016, allocations: 13.25 MB / 387.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.1032, allocations: 0.4962 MB / 387.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004976/0.1081, allocations: 2.984 MB / 390.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002489/0.1106, allocations: 1.498 MB / 392.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004069/0.111, allocations: 136 kB / 392.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.1147, allocations: 1.272 MB / 393.5 MB, free: 356 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006261/0.1153, allocations: 0.6048 MB / 394.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002186/0.1175, allocations: 1.406 MB / 395.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008134/0.1256, allocations: 6.499 MB / 402 MB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1257, allocations: 4 kB / 402 MB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1257, allocations: 0 / 402 MB, free: 7.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.679e-05/0.1258, allocations: 0 / 402 MB, free: 7.801 MB / 366.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.009552/0.1353, allocations: 6.785 MB / 408.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1353, allocations: 11.98 kB / 408.8 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008369/0.1362, allocations: 0.7803 MB / 409.5 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006638/0.1428, allocations: 4.379 MB / 413.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.1429, allocations: 66 kB / 414 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.1431, allocations: 99.91 kB / 414.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.1455, allocations: 1.313 MB / 415.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.1456, allocations: 0 / 415.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.1457, allocations: 35.94 kB / 415.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/0.1457, allocations: 39.97 kB / 415.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.1484, allocations: 1.488 MB / 417 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00931/0.1578, allocations: 5.121 MB / 422.1 MB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.1595, allocations: 0.8642 MB / 422.9 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.1612, allocations: 1.068 MB / 424 MB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04947/0.2107, allocations: 27.06 MB / 451.1 MB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/0.2118, allocations: 0.5489 MB / 451.6 MB, free: 5.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=85): time 2.996e-06/0.2118, allocations: 0 / 451.6 MB, free: 5.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.003629/0.2154, allocations: 1.919 MB / 453.5 MB, free: 3.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.2155, allocations: 64.06 kB / 453.6 MB, free: 3.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006992/0.2224, allocations: 5.629 MB / 459.2 MB, free: 13.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.483e-05/0.2225, allocations: 41.69 kB / 459.3 MB, free: 13.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002754/0.2253, allocations: 2.961 MB / 462.2 MB, free: 10.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.2256, allocations: 317.4 kB / 462.5 MB, free: 10.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005765/0.2262, allocations: 419 kB / 463 MB, free: 9.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2263, allocations: 305.1 kB / 463.3 MB, free: 9.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009007/0.2272, allocations: 399.8 kB / 463.6 MB, free: 9.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.2287, allocations: 1.099 MB / 464.7 MB, free: 7.617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.2312, allocations: 1.607 MB / 466.3 MB, free: 5.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.2312, allocations: 4 kB / 466.4 MB, free: 5.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003998/0.2352, allocations: 2.241 MB / 468.6 MB, free: 3.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.2352, allocations: 16 kB / 468.6 MB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002201/0.2354, allocations: 164 kB / 468.8 MB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.303e-05/0.2355, allocations: 32 kB / 468.8 MB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.2367, allocations: 359.9 kB / 469.2 MB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.584e-05/0.2368, allocations: 47.86 kB / 469.2 MB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.2386, allocations: 198.6 kB / 469.4 MB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.2388, allocations: 120 kB / 469.5 MB, free: 2.504 MB / 430.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.0014/0.2402, allocations: 0.7069 MB / 470.2 MB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009234/0.2411, allocations: 0.7531 MB / 471 MB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1578/0.399, allocations: 2.142 MB / 473.1 MB, free: 131.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.399, allocations: 7.797 kB / 473.1 MB, free: 131.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.399, allocations: 5.594 kB / 473.1 MB, free: 131.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.399, allocations: 3.516 kB / 473.1 MB, free: 131.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006217/0.4052, allocations: 3.358 MB / 476.5 MB, free: 130.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001803/0.4054, allocations: 138.8 kB / 476.6 MB, free: 130.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/0.4062, allocations: 149.8 kB / 476.8 MB, free: 130.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.4062, allocations: 3.406 kB / 476.8 MB, free: 130.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.4063, allocations: 64.38 kB / 476.8 MB, free: 130.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.4063, allocations: 9.25 kB / 476.8 MB, free: 130.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4063, allocations: 1 kB / 476.8 MB, free: 130.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/0.4099, allocations: 2.193 MB / 479 MB, free: 129.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.4113, allocations: 0.7801 MB / 479.8 MB, free: 129.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005585/0.4119, allocations: 14.19 kB / 479.8 MB, free: 129.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.4131, allocations: 41.39 kB / 479.9 MB, free: 129.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.4133, allocations: 96.11 kB / 480 MB, free: 129.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.4135, allocations: 69.69 kB / 480 MB, free: 129.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004724/0.4182, allocations: 3.606 MB / 483.6 MB, free: 128.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4182, allocations: 1.312 kB / 483.6 MB, free: 128.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002158/0.4204, allocations: 1.089 MB / 484.7 MB, free: 128.1 MB / 430.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.001555/0.4219, allocations: 1.27 MB / 486 MB, free: 128 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.424, allocations: 1.372 MB / 487.4 MB, free: 127.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.424, allocations: 4.312 kB / 487.4 MB, free: 127.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009491/0.425, allocations: 0.7372 MB / 488.1 MB, free: 127 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004332/0.4293, allocations: 1.169 MB / 489.3 MB, free: 126.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008768/0.4381, allocations: 8.127 MB / 497.4 MB, free: 119.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.4393, allocations: 2.105 MB / 499.5 MB, free: 117 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001845/0.4411, allocations: 0.6793 MB / 0.4885 GB, free: 116.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.4415, allocations: 284.5 kB / 0.4887 GB, free: 116.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4415, allocations: 4 kB / 0.4887 GB, free: 116.1 MB / 430.1 MB Notification: Performance of Templates: time 0.07905/0.5205, allocations: 57.31 MB / 0.5447 GB, free: 59.53 MB / 430.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/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.5277341194450855]