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.001729/0.001729, allocations: 114.7 kB / 19.18 MB, free: 3.926 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.002102/0.002102, allocations: 210.6 kB / 22.13 MB, free: 0.9805 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.551/1.551, allocations: 230.5 MB / 255.4 MB, free: 15 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.001956/0.001956, allocations: 71.88 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1017, allocations: 53.31 MB / 428.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.1979/0.2996, allocations: 14.76 MB / 442.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02588/0.3255, allocations: 20.77 MB / 463.6 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003044/0.3285, allocations: 88.91 kB / 463.7 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003931/0.3325, allocations: 1.241 MB / 464.9 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009816/0.3423, allocations: 2.325 MB / 467.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006164/0.3485, allocations: 1.446 MB / 468.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01226/0.3607, allocations: 6.585 MB / 475.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007519/0.3615, allocations: 274.4 kB / 475.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.3635, allocations: 1.107 MB / 476.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.3653, allocations: 1.108 MB / 477.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.3655, allocations: 75.38 kB / 477.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.3699, allocations: 1.481 MB / 479.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.3703, allocations: 325.8 kB / 479.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.3722, allocations: 1.369 MB / 481 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006485/0.3787, allocations: 3.794 MB / 484.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3787, allocations: 0 / 484.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3787, allocations: 0 / 484.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.81e-05/0.3788, allocations: 3.938 kB / 484.8 MB, free: 7.949 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.006329/0.3851, allocations: 3.809 MB / 488.6 MB, free: 4.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3851, allocations: 16.03 kB / 488.6 MB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005192/0.3857, allocations: 409.4 kB / 489 MB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004048/0.3897, allocations: 2.453 MB / 491.5 MB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.3897, allocations: 33 kB / 491.5 MB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.3899, allocations: 55.94 kB / 491.6 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.3914, allocations: 0.7265 MB / 492.3 MB, free: 292 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3914, allocations: 8 kB / 492.3 MB, free: 284 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.3915, allocations: 23.94 kB / 492.3 MB, free: 260 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.3915, allocations: 19.98 kB / 492.3 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.3931, allocations: 0.8124 MB / 493.1 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.3985, allocations: 3.059 MB / 496.2 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.3998, allocations: 0.5198 MB / 496.7 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009657/0.4007, allocations: 0.5657 MB / 497.3 MB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03605/0.4368, allocations: 30.75 MB / 0.5157 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007705/0.4375, allocations: 365.6 kB / 0.516 GB, free: 7.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.324e-06/0.4375, allocations: 0 / 0.516 GB, free: 7.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.00231/0.4399, allocations: 1.11 MB / 0.5171 GB, free: 6.695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.4399, allocations: 63.41 kB / 0.5172 GB, free: 6.621 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/0.4435, allocations: 2.935 MB / 0.52 GB, free: 3.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.4435, allocations: 33.7 kB / 0.5201 GB, free: 3.637 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.445, allocations: 1.498 MB / 0.5215 GB, free: 2.129 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.4452, allocations: 178.6 kB / 0.5217 GB, free: 1.953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.4455, allocations: 226.4 kB / 0.5219 GB, free: 1.727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4457, allocations: 337.9 kB / 0.5222 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005759/0.4462, allocations: 241.8 kB / 0.5225 GB, free: 1.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008379/0.4471, allocations: 0.5981 MB / 0.523 GB, free: 388 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.4487, allocations: 0.8974 MB / 0.5239 GB, free: 15.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.4487, allocations: 11.88 kB / 0.5239 GB, free: 15.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002176/0.4509, allocations: 1.243 MB / 0.5251 GB, free: 14.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4509, allocations: 8 kB / 0.5251 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.4511, allocations: 80 kB / 0.5252 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.4511, allocations: 20 kB / 0.5252 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/0.4518, allocations: 207.2 kB / 0.5254 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-05/0.4518, allocations: 27.92 kB / 0.5255 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.4529, allocations: 111.3 kB / 0.5256 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.453, allocations: 64 kB / 0.5256 GB, free: 13.54 MB / 446.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.0007239/0.4537, allocations: 437.4 kB / 0.5261 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.4541, allocations: 405.5 kB / 0.5264 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.4567, allocations: 1.201 MB / 0.5276 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-05/0.4567, allocations: 4 kB / 0.5276 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4567, allocations: 0 / 0.5276 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.4567, allocations: 0 / 0.5276 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/0.4603, allocations: 2.094 MB / 0.5297 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001026/0.4604, allocations: 75.98 kB / 0.5297 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.4609, allocations: 91.86 kB / 0.5298 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4609, allocations: 0 / 0.5298 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.4609, allocations: 28 kB / 0.5298 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.4609, allocations: 4 kB / 0.5299 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4609, allocations: 3.984 kB / 0.5299 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.4632, allocations: 1.314 MB / 0.5311 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009955/0.4642, allocations: 0.4905 MB / 0.5316 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/0.4645, allocations: 13.94 kB / 0.5316 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.4652, allocations: 23.97 kB / 0.5317 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.4653, allocations: 67.94 kB / 0.5317 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.501e-05/0.4654, allocations: 43.94 kB / 0.5318 GB, free: 7.137 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002467/0.4678, allocations: 1.903 MB / 0.5336 GB, free: 5.234 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4678, allocations: 0 / 0.5336 GB, free: 5.234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001372/0.4692, allocations: 0.593 MB / 0.5342 GB, free: 4.641 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.001128/0.4703, allocations: 0.7749 MB / 0.535 GB, free: 3.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.4719, allocations: 0.771 MB / 0.5357 GB, free: 3.062 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4719, allocations: 0 / 0.5357 GB, free: 3.062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007669/0.4727, allocations: 422.9 kB / 0.5361 GB, free: 2.625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.475, allocations: 0.6256 MB / 0.5367 GB, free: 2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006493/0.4815, allocations: 4.459 MB / 0.5411 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.4828, allocations: 1.661 MB / 0.5427 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.4831, allocations: 159.4 kB / 0.5429 GB, free: 11.65 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4831, allocations: 4 kB / 0.5429 GB, free: 11.65 MB / 462.1 MB Notification: Performance of Templates: time 0.059/0.5421, allocations: 37.8 MB / 0.5798 GB, free: 5.93 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins1/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: 11.12231889704708]