Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001299/0.001299, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 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.001419/0.001419, allocations: 217.3 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.213, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02389/0.2369, allocations: 22.24 MB / 454.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02714/0.2641, allocations: 19.54 MB / 474.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.2668, allocations: 273.1 kB / 474.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003671/0.2705, allocations: 1.677 MB / 476.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008453/0.279, allocations: 3.318 MB / 479.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004158/0.2831, allocations: 1.593 MB / 481 MB, free: 5.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01786/0.301, allocations: 12.9 MB / 493.9 MB, free: 8.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009108/0.3019, allocations: 0.5043 MB / 494.4 MB, free: 8.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.3047, allocations: 2.213 MB / 496.6 MB, free: 6.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.3071, allocations: 2.103 MB / 498.7 MB, free: 4.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003557/0.3074, allocations: 136 kB / 498.8 MB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.3108, allocations: 1.296 MB / 0.4884 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.3114, allocations: 0.5932 MB / 0.489 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.3133, allocations: 1.929 MB / 0.4909 GB, free: 72 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007201/0.3205, allocations: 6.745 MB / 0.4975 GB, free: 9.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3205, allocations: 0 / 0.4975 GB, free: 9.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3205, allocations: 0 / 0.4975 GB, free: 9.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.695e-05/0.3205, allocations: 4 kB / 0.4975 GB, free: 9.289 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.009997/0.3305, allocations: 6.847 MB / 0.5041 GB, free: 2.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3306, allocations: 12.03 kB / 0.5042 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000869/0.3315, allocations: 0.7841 MB / 0.5049 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007251/0.3387, allocations: 4.367 MB / 0.5092 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.3388, allocations: 69.94 kB / 0.5093 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.339, allocations: 99.91 kB / 0.5094 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.3415, allocations: 1.316 MB / 0.5106 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.3415, allocations: 0 / 0.5106 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.3417, allocations: 36 kB / 0.5107 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.3417, allocations: 43.97 kB / 0.5107 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.3444, allocations: 1.48 MB / 0.5122 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009713/0.3541, allocations: 5.124 MB / 0.5172 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.3559, allocations: 0.8873 MB / 0.518 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.3575, allocations: 1.056 MB / 0.5191 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2228/0.5804, allocations: 27.06 MB / 0.5455 GB, free: 103 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008825/0.5813, allocations: 0.5665 MB / 0.546 GB, free: 102.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=85): time 3.166e-06/0.5813, allocations: 1.219 kB / 0.546 GB, free: 102.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=85): time 0.002661/0.5839, allocations: 1.908 MB / 0.5479 GB, free: 102.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.5839, allocations: 62.03 kB / 0.548 GB, free: 102 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005031/0.589, allocations: 5.629 MB / 0.5535 GB, free: 96.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/0.589, allocations: 45.55 kB / 0.5535 GB, free: 96.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.5906, allocations: 2.965 MB / 0.5564 GB, free: 93.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.5908, allocations: 308.3 kB / 0.5567 GB, free: 93.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.5912, allocations: 423 kB / 0.5571 GB, free: 93.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.071e-05/0.5912, allocations: 309.1 kB / 0.5574 GB, free: 92.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007277/0.5919, allocations: 402.7 kB / 0.5578 GB, free: 92.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/0.5928, allocations: 1.091 MB / 0.5588 GB, free: 90.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.5945, allocations: 1.614 MB / 0.5604 GB, free: 89.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.5945, allocations: 8 kB / 0.5604 GB, free: 89.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002648/0.5972, allocations: 2.236 MB / 0.5626 GB, free: 86.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.5972, allocations: 19.94 kB / 0.5626 GB, free: 86.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/0.5973, allocations: 167 kB / 0.5628 GB, free: 86.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.5974, allocations: 32 kB / 0.5628 GB, free: 86.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.5985, allocations: 360.8 kB / 0.5632 GB, free: 86.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/0.5985, allocations: 47.8 kB / 0.5632 GB, free: 86.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.6, allocations: 193.4 kB / 0.5634 GB, free: 86.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.6002, allocations: 123.7 kB / 0.5635 GB, free: 85.99 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.0009188/0.6011, allocations: 0.716 MB / 0.5642 GB, free: 85.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/0.6015, allocations: 0.753 MB / 0.5649 GB, free: 84.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/0.6051, allocations: 2.151 MB / 0.567 GB, free: 82.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.6051, allocations: 3.984 kB / 0.567 GB, free: 82.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000152/0.6053, allocations: 140 kB / 0.5672 GB, free: 82.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.6067, allocations: 0.7743 MB / 0.5679 GB, free: 81.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005754/0.6072, allocations: 19.11 kB / 0.568 GB, free: 81.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6083, allocations: 39.97 kB / 0.568 GB, free: 81.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.6085, allocations: 96.55 kB / 0.5681 GB, free: 81.42 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002114/0.6107, allocations: 1.042 MB / 0.5691 GB, free: 80.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002619/0.6133, allocations: 2.227 MB / 0.5713 GB, free: 78.14 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006215/0.6139, allocations: 349.4 kB / 0.5716 GB, free: 77.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003441/0.6173, allocations: 3.608 MB / 0.5751 GB, free: 74.22 MB / 446.1 MB Notification: Performance of Backend: time 4.51e-07/0.6173, allocations: 0 / 0.5751 GB, free: 74.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003829/0.6212, allocations: 2.32 MB / 0.5774 GB, free: 71.93 MB / 446.1 MB Notification: Performance of SimCode: time 0.009855/0.631, allocations: 10.1 MB / 0.5873 GB, free: 61.73 MB / 446.1 MB Notification: Performance of Templates: time 0.08877/0.7198, allocations: 70.63 MB / 0.6562 GB, free: 7.945 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.6370283710057265]