Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 191.9 kB / 22.93 MB, free: 5.582 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.419/1.419, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] 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.InvertersApartRecord,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.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,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.InvertersApartRecord") [Timeout 660] "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.001592/0.001592, allocations: 51.92 kB / 345.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2759, allocations: 49.13 MB / 394.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01239/0.2883, allocations: 14.09 MB / 408.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02686/0.3152, allocations: 19.81 MB / 428.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004501/0.3197, allocations: 94.53 kB / 428.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005106/0.3248, allocations: 1.209 MB / 429.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.3366, allocations: 2.322 MB / 432 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005813/0.3424, allocations: 1.396 MB / 433.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.3537, allocations: 6.362 MB / 439.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007931/0.3545, allocations: 273.2 kB / 440.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.3565, allocations: 1.011 MB / 441.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.3579, allocations: 1.083 MB / 442.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.3581, allocations: 76 kB / 442.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004571/0.3627, allocations: 1.148 MB / 443.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003746/0.363, allocations: 341.6 kB / 443.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.3647, allocations: 1.382 MB / 445.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006382/0.371, allocations: 3.811 MB / 448.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.371, allocations: 0 / 448.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.371, allocations: 4 kB / 448.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.209e-05/0.3711, allocations: 0 / 448.9 MB, free: 13.28 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.005757/0.3769, allocations: 3.837 MB / 452.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3769, allocations: 11.97 kB / 452.8 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004619/0.3774, allocations: 421.4 kB / 453.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.3809, allocations: 2.465 MB / 455.6 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.3809, allocations: 40.94 kB / 455.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3811, allocations: 55.95 kB / 455.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3825, allocations: 0.7304 MB / 456.5 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3825, allocations: 0 / 456.5 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.3826, allocations: 20 kB / 456.5 MB, free: 5.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.3826, allocations: 27.92 kB / 456.5 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.3843, allocations: 0.8124 MB / 457.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005445/0.3897, allocations: 3.072 MB / 460.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.3909, allocations: 0.5204 MB / 460.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009614/0.3918, allocations: 0.5782 MB / 461.5 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03216/0.424, allocations: 30.17 MB / 491.7 MB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007795/0.4248, allocations: 365.6 kB / 492 MB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.575e-06/0.4248, allocations: 0 / 492 MB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002348/0.4271, allocations: 1.114 MB / 493.1 MB, free: 12.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.4272, allocations: 55.41 kB / 493.2 MB, free: 12.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/0.4312, allocations: 2.952 MB / 496.1 MB, free: 9.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/0.4313, allocations: 37.7 kB / 496.2 MB, free: 9.609 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.4327, allocations: 1.503 MB / 497.7 MB, free: 8.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.4328, allocations: 178.6 kB / 497.8 MB, free: 7.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/0.4332, allocations: 238.3 kB / 498.1 MB, free: 7.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4333, allocations: 333.9 kB / 498.4 MB, free: 7.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/0.4339, allocations: 241.9 kB / 498.6 MB, free: 7.113 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/0.4347, allocations: 0.6059 MB / 499.2 MB, free: 6.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.4362, allocations: 0.8896 MB / 0.4884 GB, free: 5.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.4362, allocations: 4 kB / 0.4884 GB, free: 5.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002229/0.4385, allocations: 1.251 MB / 0.4896 GB, free: 4.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.4385, allocations: 15.98 kB / 0.4897 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.4386, allocations: 80 kB / 0.4897 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-05/0.4387, allocations: 19.98 kB / 0.4897 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.4394, allocations: 200.1 kB / 0.4899 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/0.4394, allocations: 31.86 kB / 0.49 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/0.4404, allocations: 111.3 kB / 0.4901 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.4405, allocations: 64 kB / 0.4901 GB, free: 3.492 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.0007195/0.4412, allocations: 445.3 kB / 0.4906 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.4416, allocations: 401.5 kB / 0.4909 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.4441, allocations: 1.209 MB / 0.4921 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4441, allocations: 4 kB / 0.4921 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4441, allocations: 0 / 0.4921 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4441, allocations: 4 kB / 0.4921 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/0.4475, allocations: 2.101 MB / 0.4942 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001067/0.4476, allocations: 72 kB / 0.4943 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.4481, allocations: 91.86 kB / 0.4943 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.4481, allocations: 4 kB / 0.4943 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.4481, allocations: 31.98 kB / 0.4944 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4481, allocations: 0 / 0.4944 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4481, allocations: 8.062 kB / 0.4944 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.4504, allocations: 1.323 MB / 0.4957 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000706/0.4511, allocations: 498.3 kB / 0.4961 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.4514, allocations: 12 kB / 0.4962 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006752/0.4521, allocations: 31.95 kB / 0.4962 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.4523, allocations: 64 kB / 0.4963 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.59e-05/0.4523, allocations: 43.92 kB / 0.4963 GB, free: 13.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002464/0.4548, allocations: 1.916 MB / 0.4982 GB, free: 11.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4548, allocations: 0 / 0.4982 GB, free: 11.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001334/0.4561, allocations: 0.6008 MB / 0.4988 GB, free: 10.53 MB / 430.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.001135/0.4573, allocations: 0.7762 MB / 0.4995 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.4588, allocations: 0.7786 MB / 0.5003 GB, free: 8.945 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4588, allocations: 0 / 0.5003 GB, free: 8.945 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007715/0.4596, allocations: 431.9 kB / 0.5007 GB, free: 8.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.4612, allocations: 0.5101 MB / 0.5012 GB, free: 7.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006173/0.4674, allocations: 4.431 MB / 0.5055 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.4687, allocations: 1.669 MB / 0.5071 GB, free: 1.812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009729/0.4697, allocations: 361.3 kB / 0.5075 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.4699, allocations: 151.4 kB / 0.5076 GB, free: 1.305 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4699, allocations: 0 / 0.5076 GB, free: 1.305 MB / 430.1 MB Notification: Performance of Templates: time 0.06377/0.5337, allocations: 31.86 MB / 0.5387 GB, free: 1.395 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.645863477140665]