Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 107 kB / 18.4 MB, free: 4.676 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.001144/0.001144, allocations: 188.3 kB / 19.34 MB, free: 3.754 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.328/1.328, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.00117/0.00117, allocations: 51.94 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07742/0.0786, allocations: 46.63 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.1706/0.2493, allocations: 14.61 MB / 390.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02413/0.2734, allocations: 19.79 MB / 410.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.2764, allocations: 94.44 kB / 410.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003478/0.2799, allocations: 1.232 MB / 411.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00874/0.2887, allocations: 2.317 MB / 413.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004945/0.2937, allocations: 1.378 MB / 415.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01019/0.3039, allocations: 6.468 MB / 421.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008399/0.3048, allocations: 462.9 kB / 422.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.3066, allocations: 1.049 MB / 423.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.3081, allocations: 1.111 MB / 424.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.3084, allocations: 75.62 kB / 424.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004438/0.3128, allocations: 1.155 MB / 425.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.3132, allocations: 341.5 kB / 425.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.3148, allocations: 1.44 MB / 427.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005415/0.3202, allocations: 4.004 MB / 431.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3203, allocations: 0 / 431.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3203, allocations: 7.938 kB / 431.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.567e-05/0.3203, allocations: 4 kB / 431.3 MB, free: 7.957 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005124/0.3255, allocations: 3.841 MB / 435.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3255, allocations: 8.031 kB / 435.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.3259, allocations: 414.9 kB / 435.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.3291, allocations: 2.487 MB / 438.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.3292, allocations: 40.94 kB / 438.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.3293, allocations: 55.91 kB / 438.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.3306, allocations: 0.7343 MB / 438.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3307, allocations: 7.938 kB / 438.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.3307, allocations: 20 kB / 438.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.3308, allocations: 19.98 kB / 439 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.3323, allocations: 0.8164 MB / 439.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004804/0.3371, allocations: 3.118 MB / 442.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3383, allocations: 0.5712 MB / 443.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009641/0.3393, allocations: 0.6447 MB / 444.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0292/0.3685, allocations: 30.18 MB / 474.3 MB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007401/0.3692, allocations: 373.4 kB / 474.7 MB, free: 8.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.474e-06/0.3693, allocations: 0 / 474.7 MB, free: 8.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.002102/0.3714, allocations: 1.112 MB / 475.8 MB, free: 7.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.3714, allocations: 63.41 kB / 475.8 MB, free: 7.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/0.375, allocations: 3.107 MB / 478.9 MB, free: 3.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/0.375, allocations: 29.7 kB / 479 MB, free: 3.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.3764, allocations: 1.58 MB / 480.5 MB, free: 2.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.3766, allocations: 165.7 kB / 480.7 MB, free: 2.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.3769, allocations: 226.1 kB / 480.9 MB, free: 1.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3771, allocations: 341.9 kB / 481.3 MB, free: 1.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/0.3777, allocations: 241.9 kB / 481.5 MB, free: 1.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.3785, allocations: 0.6059 MB / 482.1 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.3799, allocations: 0.9001 MB / 483 MB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.3799, allocations: 4 kB / 483 MB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002169/0.382, allocations: 1.248 MB / 484.3 MB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3821, allocations: 9 kB / 484.3 MB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/0.3822, allocations: 87.98 kB / 484.3 MB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.3822, allocations: 20 kB / 484.4 MB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/0.383, allocations: 195.7 kB / 484.6 MB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/0.383, allocations: 27.86 kB / 484.6 MB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009444/0.3839, allocations: 114.9 kB / 484.7 MB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.3841, allocations: 64 kB / 484.8 MB, free: 13.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007434/0.3848, allocations: 457.5 kB / 485.2 MB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/0.3852, allocations: 403.1 kB / 485.6 MB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.3877, allocations: 1.218 MB / 486.8 MB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.3878, allocations: 7.969 kB / 486.8 MB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001022/0.3879, allocations: 68 kB / 486.9 MB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006621/0.3885, allocations: 492 kB / 487.4 MB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/0.3889, allocations: 15.98 kB / 487.4 MB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.3895, allocations: 27.97 kB / 487.4 MB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.3897, allocations: 59.94 kB / 487.5 MB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001601/0.3913, allocations: 0.6883 MB / 488.2 MB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00212/0.3934, allocations: 1.365 MB / 489.5 MB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005379/0.394, allocations: 244.3 kB / 489.8 MB, free: 8.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002443/0.3964, allocations: 2.015 MB / 491.8 MB, free: 6.656 MB / 414.1 MB Notification: Performance of Backend: time 4.31e-07/0.3965, allocations: 4.062 kB / 491.8 MB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.3994, allocations: 1.493 MB / 493.3 MB, free: 5.133 MB / 414.1 MB Notification: Performance of SimCode: time 0.006641/0.4061, allocations: 5.541 MB / 498.8 MB, free: 15.52 MB / 430.1 MB Notification: Performance of Templates: time 0.05667/0.4628, allocations: 36.2 MB / 0.5225 GB, free: 11.26 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches