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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 82.48 kB / 21.99 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 161.4 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 66.58 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1987, allocations: 49.15 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01414/0.2128, allocations: 12.3 MB / 360.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02249/0.2353, allocations: 17.11 MB / 377.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.2374, allocations: 138.5 kB / 378.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.2404, allocations: 1.135 MB / 379.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006785/0.2472, allocations: 2.371 MB / 381.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004451/0.2517, allocations: 1.352 MB / 382.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01077/0.2624, allocations: 6.516 MB / 389.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006928/0.2631, allocations: 270.3 kB / 389.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.2648, allocations: 1.085 MB / 390.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.2666, allocations: 1.071 MB / 391.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003322/0.2669, allocations: 72 kB / 391.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.2702, allocations: 1.085 MB / 393 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.2706, allocations: 341.5 kB / 393.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.2721, allocations: 1.055 MB / 394.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005864/0.2779, allocations: 4.072 MB / 398.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2779, allocations: 0 / 398.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2779, allocations: 4 kB / 398.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.309e-05/0.278, allocations: 0 / 398.5 MB, free: 13.3 MB / 366.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.006138/0.2842, allocations: 3.906 MB / 402.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2842, allocations: 11.98 kB / 402.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.2847, allocations: 437.2 kB / 402.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00383/0.2886, allocations: 2.361 MB / 405.2 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.2886, allocations: 40.88 kB / 405.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.2887, allocations: 59.95 kB / 405.3 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.2902, allocations: 0.7343 MB / 406 MB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.2902, allocations: 3.984 kB / 406 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/0.2903, allocations: 20 kB / 406 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.2903, allocations: 23.98 kB / 406.1 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.292, allocations: 0.8163 MB / 406.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005525/0.2975, allocations: 2.816 MB / 409.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.2988, allocations: 0.5202 MB / 410.2 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.2998, allocations: 0.5728 MB / 410.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02559/0.3254, allocations: 13.74 MB / 424.5 MB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008065/0.3262, allocations: 373.9 kB / 424.9 MB, free: 2.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 2.475e-06/0.3262, allocations: 0 / 424.9 MB, free: 2.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.002475/0.3287, allocations: 1.127 MB / 426 MB, free: 1.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.3287, allocations: 59.41 kB / 426.1 MB, free: 1.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/0.3327, allocations: 3.131 MB / 429.2 MB, free: 13.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.3327, allocations: 37.69 kB / 429.2 MB, free: 13.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.3342, allocations: 1.586 MB / 430.8 MB, free: 12.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.3344, allocations: 178.5 kB / 431 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.3347, allocations: 230.3 kB / 431.2 MB, free: 11.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3349, allocations: 345.9 kB / 431.6 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.3355, allocations: 241.9 kB / 431.8 MB, free: 11.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009124/0.3364, allocations: 0.6018 MB / 432.4 MB, free: 10.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.338, allocations: 0.8945 MB / 433.3 MB, free: 9.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.338, allocations: 4 kB / 433.3 MB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002344/0.3404, allocations: 1.271 MB / 434.6 MB, free: 8.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3404, allocations: 12 kB / 434.6 MB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/0.3405, allocations: 80 kB / 434.7 MB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/0.3406, allocations: 16 kB / 434.7 MB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.3413, allocations: 208.2 kB / 434.9 MB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.132e-05/0.3414, allocations: 27.91 kB / 434.9 MB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000957/0.3423, allocations: 111.3 kB / 435 MB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.3424, allocations: 68 kB / 435.1 MB, free: 7.668 MB / 398.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.0008067/0.3432, allocations: 449.5 kB / 435.5 MB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004433/0.3437, allocations: 429.2 kB / 435.9 MB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.3464, allocations: 1.208 MB / 437.1 MB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3464, allocations: 4 kB / 437.1 MB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.3464, allocations: 3.984 kB / 437.1 MB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3464, allocations: 15.92 kB / 437.2 MB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.35, allocations: 1.997 MB / 439.2 MB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/0.3501, allocations: 68 kB / 439.2 MB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.3507, allocations: 91.86 kB / 439.3 MB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3507, allocations: 4 kB / 439.3 MB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.3507, allocations: 35.98 kB / 439.4 MB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3507, allocations: 3.984 kB / 439.4 MB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.3508, allocations: 7.938 kB / 439.4 MB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.3533, allocations: 1.345 MB / 440.7 MB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009071/0.3542, allocations: 443.1 kB / 441.1 MB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.3544, allocations: 8 kB / 441.2 MB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/0.3551, allocations: 27.97 kB / 441.2 MB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.3553, allocations: 63.92 kB / 441.2 MB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.741e-05/0.3554, allocations: 36 kB / 441.3 MB, free: 1.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002846/0.3582, allocations: 2.023 MB / 443.3 MB, free: 15.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3582, allocations: 0 / 443.3 MB, free: 15.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00147/0.3597, allocations: 0.6008 MB / 443.9 MB, free: 14.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.3608, allocations: 0.784 MB / 444.7 MB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.3626, allocations: 0.7794 MB / 445.5 MB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3626, allocations: 0 / 445.5 MB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.3634, allocations: 427.3 kB / 445.9 MB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.3656, allocations: 0.5421 MB / 446.4 MB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/0.3726, allocations: 4.628 MB / 451.1 MB, free: 7.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.3738, allocations: 1.166 MB / 452.2 MB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001099/0.3749, allocations: 361.4 kB / 452.6 MB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.3751, allocations: 156.5 kB / 452.7 MB, free: 5.766 MB / 414.1 MB Notification: Performance of SimCode: time 1.163e-06/0.3751, allocations: 0 / 452.7 MB, free: 5.766 MB / 414.1 MB Notification: Performance of Templates: time 0.2125/0.5877, allocations: 33.5 MB / 486.2 MB, free: 107.2 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.486387633951381]