Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001104/0.001104, allocations: 106.3 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.0009748/0.0009748, allocations: 181.4 kB / 18.67 MB, free: 4.406 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.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009829/0.0009829, allocations: 51.91 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2302, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01311/0.2433, allocations: 15.32 MB / 416.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02182/0.2652, allocations: 20.73 MB / 437.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.2668, allocations: 87.31 kB / 437.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.2695, allocations: 1.265 MB / 438.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.2755, allocations: 2.379 MB / 441.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.2793, allocations: 1.439 MB / 442.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008818/0.2881, allocations: 6.605 MB / 449.2 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007132/0.2888, allocations: 477.5 kB / 449.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.2902, allocations: 1.131 MB / 450.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.2918, allocations: 1.149 MB / 452 MB, free: 6.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.2921, allocations: 72 kB / 452 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.2963, allocations: 1.475 MB / 453.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003886/0.2967, allocations: 337.5 kB / 453.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.2983, allocations: 1.432 MB / 455.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.3029, allocations: 3.977 MB / 459.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3029, allocations: 4 kB / 459.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3029, allocations: 7.984 kB / 459.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.984e-05/0.303, allocations: 3.938 kB / 459.3 MB, free: 14.73 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005326/0.3084, allocations: 3.822 MB / 463.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3084, allocations: 8.031 kB / 463.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003849/0.3088, allocations: 414.9 kB / 463.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/0.312, allocations: 2.467 MB / 466 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.312, allocations: 33 kB / 466 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.3121, allocations: 63.89 kB / 466.1 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.3135, allocations: 0.7304 MB / 466.8 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3135, allocations: 0 / 466.8 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/0.3136, allocations: 20 kB / 466.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.3136, allocations: 19.98 kB / 466.8 MB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.3151, allocations: 0.8163 MB / 467.7 MB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004982/0.3201, allocations: 3.098 MB / 470.7 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.3213, allocations: 0.5791 MB / 471.3 MB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/0.3223, allocations: 0.636 MB / 472 MB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02815/0.3504, allocations: 30.13 MB / 0.4903 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007537/0.3512, allocations: 361.6 kB / 0.4907 GB, free: 15.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.445e-06/0.3512, allocations: 0 / 0.4907 GB, free: 15.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.002193/0.3534, allocations: 1.112 MB / 0.4918 GB, free: 14.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.3535, allocations: 59.41 kB / 0.4918 GB, free: 13.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003417/0.3569, allocations: 3.09 MB / 0.4948 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/0.357, allocations: 37.7 kB / 0.4949 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.3582, allocations: 1.569 MB / 0.4964 GB, free: 9.262 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.3584, allocations: 165.7 kB / 0.4966 GB, free: 9.098 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.3587, allocations: 226.1 kB / 0.4968 GB, free: 8.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3588, allocations: 341.9 kB / 0.4971 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.3594, allocations: 245.8 kB / 0.4973 GB, free: 8.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/0.3602, allocations: 0.5942 MB / 0.4979 GB, free: 7.523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.3616, allocations: 0.9013 MB / 0.4988 GB, free: 6.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.3616, allocations: 8 kB / 0.4988 GB, free: 6.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001999/0.3636, allocations: 1.249 MB / 0.5 GB, free: 5.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3636, allocations: 12.25 kB / 0.5 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/0.3637, allocations: 80 kB / 0.5001 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/0.3638, allocations: 24 kB / 0.5001 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.3645, allocations: 203.6 kB / 0.5003 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/0.3646, allocations: 27.86 kB / 0.5004 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009079/0.3655, allocations: 107 kB / 0.5005 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.691e-05/0.3656, allocations: 68 kB / 0.5005 GB, free: 4.676 MB / 430.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.0006668/0.3663, allocations: 465.8 kB / 0.501 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.3666, allocations: 395.1 kB / 0.5013 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.3692, allocations: 1.207 MB / 0.5025 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3692, allocations: 3.984 kB / 0.5025 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.652e-05/0.3693, allocations: 68 kB / 0.5026 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007788/0.3701, allocations: 496 kB / 0.5031 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.3704, allocations: 8 kB / 0.5031 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.3711, allocations: 27.97 kB / 0.5031 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.3713, allocations: 71.66 kB / 0.5032 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001675/0.3729, allocations: 0.6774 MB / 0.5038 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002294/0.3752, allocations: 1.369 MB / 0.5052 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005565/0.3758, allocations: 240.8 kB / 0.5054 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002583/0.3784, allocations: 2.01 MB / 0.5074 GB, free: 13.6 MB / 446.1 MB Notification: Performance of Backend: time 5.91e-07/0.3784, allocations: 0 / 0.5074 GB, free: 13.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003348/0.3818, allocations: 1.488 MB / 0.5088 GB, free: 12.09 MB / 446.1 MB Notification: Performance of SimCode: time 0.007999/0.3898, allocations: 5.601 MB / 0.5143 GB, free: 6.398 MB / 446.1 MB Notification: Performance of Templates: time 0.2338/0.6236, allocations: 35.35 MB / 0.5488 GB, free: 131.2 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches