Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 106.6 kB / 17.74 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 194.9 kB / 18.68 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009545/0.0009545, allocations: 51.92 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2246, allocations: 49.43 MB / 401.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02117/0.2458, allocations: 26.71 MB / 428.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02654/0.2724, allocations: 22.34 MB / 450.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003991/0.2764, allocations: 178.6 kB / 450.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004305/0.2807, allocations: 1.774 MB / 452.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009561/0.2903, allocations: 3.256 MB / 455.7 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.2953, allocations: 1.623 MB / 457.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01876/0.314, allocations: 12.68 MB / 470 MB, free: 4.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.3157, allocations: 0.8553 MB / 470.8 MB, free: 3.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.3187, allocations: 2.107 MB / 472.9 MB, free: 1.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.3217, allocations: 2.104 MB / 475 MB, free: 15.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005874/0.3223, allocations: 136 kB / 475.2 MB, free: 14.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005237/0.3276, allocations: 1.533 MB / 476.7 MB, free: 13.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009062/0.3285, allocations: 0.6049 MB / 477.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003688/0.3322, allocations: 2.62 MB / 479.9 MB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008752/0.341, allocations: 6.626 MB / 486.6 MB, free: 3.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.341, allocations: 4 kB / 486.6 MB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.341, allocations: 0 / 486.6 MB, free: 3.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001891/0.3412, allocations: 0 / 486.6 MB, free: 3.508 MB / 398.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.01034/0.3516, allocations: 6.67 MB / 493.2 MB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3516, allocations: 11.97 kB / 493.2 MB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008493/0.3525, allocations: 0.7487 MB / 494 MB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006427/0.3589, allocations: 4.586 MB / 498.6 MB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/0.359, allocations: 66 kB / 498.6 MB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.3592, allocations: 103.9 kB / 498.7 MB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.3615, allocations: 1.301 MB / 0.4883 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3615, allocations: 0 / 0.4883 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.3616, allocations: 36 kB / 0.4884 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.3617, allocations: 47.95 kB / 0.4884 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/0.3642, allocations: 1.48 MB / 0.4898 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009105/0.3733, allocations: 5.609 MB / 0.4953 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.375, allocations: 0.9967 MB / 0.4963 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.3766, allocations: 1.212 MB / 0.4975 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2247/0.6013, allocations: 59.8 MB / 0.5559 GB, free: 118.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008787/0.6022, allocations: 0.556 MB / 0.5564 GB, free: 118 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 2.865e-06/0.6022, allocations: 0 / 0.5564 GB, free: 118 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.002656/0.6048, allocations: 1.872 MB / 0.5583 GB, free: 117.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.6049, allocations: 66.55 kB / 0.5583 GB, free: 117.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004903/0.6098, allocations: 5.593 MB / 0.5638 GB, free: 114.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.6099, allocations: 41.67 kB / 0.5638 GB, free: 114 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.6115, allocations: 2.941 MB / 0.5667 GB, free: 111.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.6116, allocations: 297.7 kB / 0.567 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.612, allocations: 422.5 kB / 0.5674 GB, free: 110.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.268e-05/0.612, allocations: 309.1 kB / 0.5677 GB, free: 110.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/0.6128, allocations: 406.1 kB / 0.5681 GB, free: 109.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008924/0.6137, allocations: 1.085 MB / 0.5691 GB, free: 108.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.6153, allocations: 1.615 MB / 0.5707 GB, free: 106.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.6154, allocations: 8 kB / 0.5707 GB, free: 106.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002708/0.6181, allocations: 2.2 MB / 0.5729 GB, free: 104.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.6181, allocations: 19 kB / 0.5729 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001743/0.6183, allocations: 167.9 kB / 0.573 GB, free: 104.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.371e-05/0.6183, allocations: 32 kB / 0.5731 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.6194, allocations: 360.9 kB / 0.5734 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/0.6195, allocations: 43.86 kB / 0.5734 GB, free: 103.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.621, allocations: 189.7 kB / 0.5736 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.6211, allocations: 124 kB / 0.5737 GB, free: 103.3 MB / 462.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.001039/0.6222, allocations: 0.7081 MB / 0.5744 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/0.6227, allocations: 0.7141 MB / 0.5751 GB, free: 101.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.6263, allocations: 2.163 MB / 0.5772 GB, free: 99.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6264, allocations: 3.984 kB / 0.5772 GB, free: 99.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001526/0.6265, allocations: 140 kB / 0.5774 GB, free: 99.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.6277, allocations: 0.8161 MB / 0.5782 GB, free: 98.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/0.6283, allocations: 19.98 kB / 0.5782 GB, free: 98.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.6294, allocations: 27.97 kB / 0.5782 GB, free: 98.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.6296, allocations: 104.5 kB / 0.5783 GB, free: 98.65 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002114/0.6317, allocations: 1.043 MB / 0.5793 GB, free: 97.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00262/0.6344, allocations: 2.179 MB / 0.5815 GB, free: 95.42 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000649/0.635, allocations: 396.8 kB / 0.5819 GB, free: 95.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003498/0.6385, allocations: 3.608 MB / 0.5854 GB, free: 91.45 MB / 462.1 MB Notification: Performance of Backend: time 6.11e-07/0.6386, allocations: 0 / 0.5854 GB, free: 91.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003905/0.6425, allocations: 2.388 MB / 0.5877 GB, free: 89.09 MB / 462.1 MB Notification: Performance of SimCode: time 0.01059/0.6531, allocations: 9.915 MB / 0.5974 GB, free: 79.09 MB / 462.1 MB Notification: Performance of Templates: time 0.07642/0.7295, allocations: 59.18 MB / 0.6552 GB, free: 20.5 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches