Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001105/0.001105, allocations: 112.3 kB / 18.41 MB, free: 4.688 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.001133/0.001133, allocations: 190.1 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 51.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07879/0.08025, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.1702/0.2505, allocations: 25.34 MB / 401.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02839/0.2789, allocations: 21.33 MB / 422.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005823/0.2848, allocations: 179.4 kB / 422.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005678/0.2905, allocations: 1.73 MB / 424.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.3034, allocations: 3.199 MB / 427.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006297/0.3097, allocations: 1.574 MB / 429.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02099/0.3307, allocations: 12.4 MB / 441.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.3327, allocations: 0.8667 MB / 442.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003525/0.3363, allocations: 1.917 MB / 444.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.3396, allocations: 2.058 MB / 446.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006436/0.3402, allocations: 136 kB / 446.6 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0058/0.346, allocations: 1.222 MB / 447.8 MB, free: 7.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008457/0.3469, allocations: 0.6009 MB / 448.4 MB, free: 6.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004032/0.3509, allocations: 2.635 MB / 451 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.3617, allocations: 6.714 MB / 457.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3617, allocations: 0 / 457.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3617, allocations: 3.938 kB / 457.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002333/0.362, allocations: 0 / 457.7 MB, free: 13.43 MB / 382.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.009891/0.3719, allocations: 6.981 MB / 464.7 MB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3719, allocations: 8.031 kB / 464.7 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/0.3728, allocations: 0.7841 MB / 465.5 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006484/0.3793, allocations: 4.691 MB / 470.2 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.3794, allocations: 69.94 kB / 470.3 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.3796, allocations: 103.9 kB / 470.4 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.3819, allocations: 1.301 MB / 471.7 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3819, allocations: 0 / 471.7 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.382, allocations: 36 kB / 471.7 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/0.3821, allocations: 47.91 kB / 471.7 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.3846, allocations: 1.484 MB / 473.2 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009354/0.394, allocations: 5.646 MB / 478.9 MB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.3957, allocations: 0.9895 MB / 479.9 MB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.3974, allocations: 1.227 MB / 481.1 MB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05569/0.4531, allocations: 59.94 MB / 0.5283 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.4541, allocations: 0.5559 MB / 0.5289 GB, free: 1.062 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 3.597e-06/0.4542, allocations: 0 / 0.5289 GB, free: 1.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.003567/0.4577, allocations: 1.915 MB / 0.5308 GB, free: 15.13 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.4578, allocations: 59.97 kB / 0.5308 GB, free: 15.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007801/0.4656, allocations: 5.632 MB / 0.5363 GB, free: 9.461 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.4657, allocations: 41.7 kB / 0.5364 GB, free: 9.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002432/0.4682, allocations: 2.957 MB / 0.5392 GB, free: 6.445 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.4685, allocations: 313.4 kB / 0.5395 GB, free: 6.137 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000571/0.4691, allocations: 427 kB / 0.5399 GB, free: 5.715 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.4692, allocations: 304.9 kB / 0.5402 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009071/0.4701, allocations: 407.7 kB / 0.5406 GB, free: 5.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.4714, allocations: 1.087 MB / 0.5417 GB, free: 3.598 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.4737, allocations: 1.615 MB / 0.5433 GB, free: 1.652 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.4737, allocations: 8 kB / 0.5433 GB, free: 1.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.1618/0.6355, allocations: 2.246 MB / 0.5455 GB, free: 156.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.6356, allocations: 14.88 kB / 0.5455 GB, free: 156.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/0.6358, allocations: 164.1 kB / 0.5456 GB, free: 156.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.431e-05/0.6358, allocations: 33.75 kB / 0.5457 GB, free: 156.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.637, allocations: 363.2 kB / 0.546 GB, free: 156.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-05/0.6371, allocations: 47.55 kB / 0.5461 GB, free: 156.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.639, allocations: 196.2 kB / 0.5462 GB, free: 156.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.6392, allocations: 125.4 kB / 0.5464 GB, free: 156.4 MB / 478.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.001199/0.6404, allocations: 0.7078 MB / 0.5471 GB, free: 156.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005591/0.641, allocations: 0.7542 MB / 0.5478 GB, free: 156.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/0.6451, allocations: 2.167 MB / 0.5499 GB, free: 156.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.6451, allocations: 5 kB / 0.5499 GB, free: 156.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001762/0.6453, allocations: 138.3 kB / 0.55 GB, free: 156.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.6463, allocations: 0.8569 MB / 0.5509 GB, free: 155.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005376/0.6469, allocations: 16.31 kB / 0.5509 GB, free: 155.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.648, allocations: 39.61 kB / 0.5509 GB, free: 155.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.6482, allocations: 100.6 kB / 0.551 GB, free: 155.7 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002281/0.6505, allocations: 1.047 MB / 0.5521 GB, free: 155.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002927/0.6534, allocations: 2.235 MB / 0.5542 GB, free: 154.9 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007295/0.6542, allocations: 392.6 kB / 0.5546 GB, free: 154.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004567/0.6588, allocations: 3.633 MB / 0.5582 GB, free: 153.9 MB / 478.1 MB Notification: Performance of Backend: time 3.61e-07/0.6588, allocations: 5.094 kB / 0.5582 GB, free: 153.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004559/0.6633, allocations: 2.395 MB / 0.5605 GB, free: 153.2 MB / 478.1 MB Notification: Performance of SimCode: time 0.01096/0.6743, allocations: 9.981 MB / 0.5703 GB, free: 147.8 MB / 478.1 MB Notification: Performance of Templates: time 0.08225/0.7566, allocations: 59.48 MB / 0.6283 GB, free: 92.83 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches