Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 110.5 kB / 21.23 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 207.9 kB / 24.53 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 64.55 kB / 379 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2653, allocations: 53.39 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01692/0.2822, allocations: 14.77 MB / 447.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02712/0.3093, allocations: 20.79 MB / 468 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.3123, allocations: 134.6 kB / 468.1 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003852/0.3162, allocations: 1.243 MB / 469.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008277/0.3245, allocations: 2.374 MB / 471.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005054/0.3295, allocations: 1.461 MB / 473.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01188/0.3414, allocations: 6.592 MB / 479.8 MB, free: 7.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007795/0.3422, allocations: 281.7 kB / 480 MB, free: 7.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.3442, allocations: 1.147 MB / 481.2 MB, free: 5.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.3458, allocations: 1.106 MB / 482.3 MB, free: 4.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.346, allocations: 79.94 kB / 482.4 MB, free: 4.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004818/0.3508, allocations: 1.479 MB / 483.9 MB, free: 3.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.3511, allocations: 333.6 kB / 484.2 MB, free: 2.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.3526, allocations: 1.37 MB / 485.5 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005567/0.3582, allocations: 3.791 MB / 489.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3582, allocations: 0 / 489.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3582, allocations: 0 / 489.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.091e-05/0.3582, allocations: 0 / 489.3 MB, free: 13.76 MB / 398.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.005657/0.3639, allocations: 3.73 MB / 493.1 MB, free: 9.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3639, allocations: 8.031 kB / 493.1 MB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004784/0.3644, allocations: 417.4 kB / 493.5 MB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003683/0.3681, allocations: 2.295 MB / 495.8 MB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.3681, allocations: 37 kB / 495.8 MB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.3683, allocations: 52 kB / 495.9 MB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.3697, allocations: 0.7265 MB / 496.6 MB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3697, allocations: 0 / 496.6 MB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.3698, allocations: 27.98 kB / 496.6 MB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.3698, allocations: 16 kB / 496.6 MB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.3716, allocations: 0.8241 MB / 497.5 MB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005552/0.3771, allocations: 3.003 MB / 0.4887 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.3783, allocations: 0.5125 MB / 0.4892 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.3794, allocations: 0.5731 MB / 0.4898 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02659/0.406, allocations: 13.78 MB / 0.5033 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008196/0.4068, allocations: 369.6 kB / 0.5036 GB, free: 2.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 3.136e-06/0.4068, allocations: 0 / 0.5036 GB, free: 2.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002576/0.4094, allocations: 1.107 MB / 0.5047 GB, free: 1.641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.4094, allocations: 59.41 kB / 0.5047 GB, free: 1.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/0.4138, allocations: 2.935 MB / 0.5076 GB, free: 14.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.4139, allocations: 37.7 kB / 0.5076 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.4154, allocations: 1.495 MB / 0.5091 GB, free: 13.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.4156, allocations: 182.5 kB / 0.5093 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000364/0.416, allocations: 230.4 kB / 0.5095 GB, free: 12.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4161, allocations: 341.9 kB / 0.5098 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006248/0.4168, allocations: 241.8 kB / 0.5101 GB, free: 12.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009077/0.4177, allocations: 0.5979 MB / 0.5106 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.4193, allocations: 0.8974 MB / 0.5115 GB, free: 10.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.4193, allocations: 11.88 kB / 0.5115 GB, free: 10.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0027/0.422, allocations: 1.243 MB / 0.5127 GB, free: 8.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.422, allocations: 12 kB / 0.5128 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/0.4222, allocations: 83.98 kB / 0.5128 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/0.4222, allocations: 16 kB / 0.5128 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/0.4229, allocations: 204.2 kB / 0.513 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.129e-05/0.423, allocations: 27.88 kB / 0.5131 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.424, allocations: 107.3 kB / 0.5132 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.4242, allocations: 68 kB / 0.5132 GB, free: 8.477 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.0008595/0.425, allocations: 429.4 kB / 0.5136 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/0.4254, allocations: 401.5 kB / 0.514 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.4281, allocations: 1.186 MB / 0.5152 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4281, allocations: 8 kB / 0.5152 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4281, allocations: 0 / 0.5152 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4282, allocations: 3.984 kB / 0.5152 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.4317, allocations: 2.076 MB / 0.5172 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001134/0.4318, allocations: 72.06 kB / 0.5173 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.4323, allocations: 95.86 kB / 0.5174 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4323, allocations: 0 / 0.5174 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/0.4323, allocations: 35.98 kB / 0.5174 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.4323, allocations: 4 kB / 0.5174 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.4324, allocations: 3.938 kB / 0.5174 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.4348, allocations: 1.314 MB / 0.5187 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007779/0.4355, allocations: 419.2 kB / 0.5191 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.4358, allocations: 11.98 kB / 0.5191 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.4365, allocations: 27.97 kB / 0.5192 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.4366, allocations: 67.86 kB / 0.5192 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/0.4367, allocations: 44.06 kB / 0.5193 GB, free: 2.203 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002713/0.4394, allocations: 1.907 MB / 0.5211 GB, free: 304 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4394, allocations: 0 / 0.5211 GB, free: 304 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001394/0.4408, allocations: 0.5852 MB / 0.5217 GB, free: 15.71 MB / 446.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.001193/0.442, allocations: 0.7884 MB / 0.5225 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.4438, allocations: 0.7678 MB / 0.5232 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4438, allocations: 0 / 0.5232 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008126/0.4446, allocations: 426.9 kB / 0.5236 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.4469, allocations: 0.6117 MB / 0.5242 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006658/0.4536, allocations: 4.383 MB / 0.5285 GB, free: 8.637 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.455, allocations: 1.672 MB / 0.5301 GB, free: 6.934 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001042/0.4561, allocations: 357.1 kB / 0.5305 GB, free: 6.578 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.4563, allocations: 155.4 kB / 0.5306 GB, free: 6.426 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4563, allocations: 0 / 0.5306 GB, free: 6.426 MB / 446.1 MB Notification: Performance of Templates: time 0.2405/0.6968, allocations: 31.93 MB / 0.5618 GB, free: 88.21 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.842653641477227]