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.001088/0.001088, allocations: 102.5 kB / 18.4 MB, free: 4.66 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.001123/0.001123, allocations: 187 kB / 19.34 MB, free: 3.734 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.29/1.29, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.00123/0.00123, allocations: 51.94 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07904/0.08028, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.1706/0.2509, allocations: 25.35 MB / 401.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02622/0.2772, allocations: 21.33 MB / 422.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005325/0.2825, allocations: 180.7 kB / 422.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004359/0.2869, allocations: 1.725 MB / 424.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.2984, allocations: 3.167 MB / 427.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006002/0.3044, allocations: 1.572 MB / 429.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01778/0.3222, allocations: 12.39 MB / 441.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.3235, allocations: 0.8593 MB / 442.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.3262, allocations: 1.917 MB / 444.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.3284, allocations: 2.057 MB / 446.4 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003276/0.3287, allocations: 132 kB / 446.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.3325, allocations: 1.222 MB / 447.7 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004701/0.333, allocations: 0.601 MB / 448.3 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.3351, allocations: 2.635 MB / 450.9 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006984/0.342, allocations: 6.677 MB / 457.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3421, allocations: 4 kB / 457.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3421, allocations: 3.938 kB / 457.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.674e-05/0.3422, allocations: 0 / 457.6 MB, free: 13.68 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.008163/0.3503, allocations: 6.725 MB / 464.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3504, allocations: 11.97 kB / 464.4 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006832/0.3511, allocations: 0.7534 MB / 465.1 MB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005769/0.3569, allocations: 4.622 MB / 469.7 MB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.3569, allocations: 66 kB / 469.8 MB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.3572, allocations: 99.84 kB / 469.9 MB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.3593, allocations: 1.305 MB / 471.2 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.3593, allocations: 4 kB / 471.2 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.3595, allocations: 36 kB / 471.2 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.3595, allocations: 47.89 kB / 471.3 MB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.362, allocations: 1.48 MB / 472.8 MB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009506/0.3715, allocations: 5.637 MB / 478.4 MB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.3733, allocations: 0.989 MB / 479.4 MB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.375, allocations: 1.222 MB / 480.6 MB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05578/0.4308, allocations: 59.93 MB / 0.5279 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.4318, allocations: 0.5598 MB / 0.5284 GB, free: 1.672 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 3.617e-06/0.4319, allocations: 4 kB / 0.5284 GB, free: 1.668 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.003525/0.4354, allocations: 1.875 MB / 0.5303 GB, free: 15.78 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.4354, allocations: 67.95 kB / 0.5303 GB, free: 15.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008409/0.4439, allocations: 5.628 MB / 0.5358 GB, free: 10.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.444, allocations: 41.7 kB / 0.5359 GB, free: 10.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002648/0.4467, allocations: 2.931 MB / 0.5387 GB, free: 7.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.447, allocations: 295.9 kB / 0.539 GB, free: 6.816 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005564/0.4475, allocations: 422.5 kB / 0.5394 GB, free: 6.398 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.4476, allocations: 317 kB / 0.5397 GB, free: 6.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008718/0.4485, allocations: 399.8 kB / 0.5401 GB, free: 5.695 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.4498, allocations: 1.079 MB / 0.5412 GB, free: 4.281 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.452, allocations: 1.623 MB / 0.5427 GB, free: 2.328 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/0.452, allocations: 7.938 kB / 0.5427 GB, free: 2.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003626/0.4556, allocations: 2.211 MB / 0.5449 GB, free: 92 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.4557, allocations: 16 kB / 0.5449 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1649/0.6206, allocations: 164.2 kB / 0.5451 GB, free: 157.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.951e-05/0.6207, allocations: 33.97 kB / 0.5451 GB, free: 157.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.622, allocations: 351.4 kB / 0.5454 GB, free: 157.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.043e-05/0.6221, allocations: 47.84 kB / 0.5455 GB, free: 157.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.624, allocations: 188.8 kB / 0.5457 GB, free: 157.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.6242, allocations: 127 kB / 0.5458 GB, free: 157.6 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.00135/0.6256, allocations: 0.7143 MB / 0.5465 GB, free: 157.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007372/0.6263, allocations: 0.7273 MB / 0.5472 GB, free: 157.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.6304, allocations: 2.163 MB / 0.5493 GB, free: 157.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.6305, allocations: 3.422 kB / 0.5493 GB, free: 157.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001885/0.6306, allocations: 139.7 kB / 0.5494 GB, free: 157.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.6317, allocations: 0.8248 MB / 0.5502 GB, free: 156.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00056/0.6323, allocations: 18.09 kB / 0.5503 GB, free: 156.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.6334, allocations: 31.52 kB / 0.5503 GB, free: 156.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.6336, allocations: 103.2 kB / 0.5504 GB, free: 156.9 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002222/0.6359, allocations: 1.048 MB / 0.5514 GB, free: 156.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002912/0.6388, allocations: 2.193 MB / 0.5536 GB, free: 156.2 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007131/0.6395, allocations: 396.2 kB / 0.5539 GB, free: 156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004805/0.6443, allocations: 3.631 MB / 0.5575 GB, free: 154.8 MB / 478.1 MB Notification: Performance of Backend: time 4.61e-07/0.6443, allocations: 1.203 kB / 0.5575 GB, free: 154.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004446/0.6488, allocations: 2.39 MB / 0.5598 GB, free: 154.1 MB / 478.1 MB Notification: Performance of SimCode: time 0.01118/0.66, allocations: 9.787 MB / 0.5694 GB, free: 149 MB / 478.1 MB Notification: Performance of Templates: time 0.08359/0.7436, allocations: 60.7 MB / 0.6287 GB, free: 92.98 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