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.001807/0.001807, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001958/0.001958, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.506/1.506, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.002017/0.002017, allocations: 79.81 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 53.3 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01658/0.3339, allocations: 14.79 MB / 446.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03549/0.3694, allocations: 20.77 MB / 467.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.3729, allocations: 91.25 kB / 467.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00528/0.3782, allocations: 1.242 MB / 468.9 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.39, allocations: 2.361 MB / 471.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006641/0.3967, allocations: 1.456 MB / 472.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01073/0.4074, allocations: 6.586 MB / 479.3 MB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007525/0.4081, allocations: 281.1 kB / 479.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.4103, allocations: 1.1 MB / 480.7 MB, free: 6.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.4121, allocations: 1.114 MB / 481.8 MB, free: 5.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.4123, allocations: 76 kB / 481.9 MB, free: 5.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005041/0.4173, allocations: 1.475 MB / 483.4 MB, free: 3.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000587/0.4179, allocations: 325.6 kB / 483.7 MB, free: 3.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.4203, allocations: 1.378 MB / 485.1 MB, free: 2.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008133/0.4285, allocations: 3.784 MB / 488.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4285, allocations: 3.938 kB / 488.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4285, allocations: 0 / 488.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.906e-05/0.4286, allocations: 0 / 488.9 MB, free: 14.3 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.006538/0.4351, allocations: 3.813 MB / 492.7 MB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4351, allocations: 8.031 kB / 492.7 MB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.4357, allocations: 417.4 kB / 493.1 MB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00398/0.4396, allocations: 2.445 MB / 495.5 MB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.4397, allocations: 40.98 kB / 495.6 MB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.4398, allocations: 52 kB / 495.6 MB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.4413, allocations: 0.7343 MB / 496.4 MB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.4413, allocations: 0 / 496.4 MB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.4414, allocations: 20 kB / 496.4 MB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.4414, allocations: 19.98 kB / 496.4 MB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.4431, allocations: 0.8202 MB / 497.2 MB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.4492, allocations: 3.067 MB / 0.4886 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.4505, allocations: 0.5126 MB / 0.4891 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.4516, allocations: 0.5579 MB / 0.4896 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03537/0.4869, allocations: 30.75 MB / 0.5196 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008278/0.4878, allocations: 361.7 kB / 0.52 GB, free: 14.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 3.547e-06/0.4878, allocations: 3.938 kB / 0.52 GB, free: 14.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.002519/0.4903, allocations: 1.107 MB / 0.5211 GB, free: 13.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.4903, allocations: 59.41 kB / 0.5211 GB, free: 12.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/0.4942, allocations: 2.943 MB / 0.524 GB, free: 10.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.4942, allocations: 29.7 kB / 0.524 GB, free: 10 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.4957, allocations: 1.495 MB / 0.5255 GB, free: 8.496 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.4959, allocations: 178.6 kB / 0.5256 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.4962, allocations: 226.4 kB / 0.5259 GB, free: 8.094 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4964, allocations: 337.9 kB / 0.5262 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/0.497, allocations: 245.9 kB / 0.5264 GB, free: 7.516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/0.4979, allocations: 0.6059 MB / 0.527 GB, free: 6.734 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.4995, allocations: 0.8857 MB / 0.5279 GB, free: 5.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.4995, allocations: 7.938 kB / 0.5279 GB, free: 5.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0023/0.5018, allocations: 1.246 MB / 0.5291 GB, free: 4.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5018, allocations: 15.97 kB / 0.5291 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/0.502, allocations: 91.92 kB / 0.5292 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/0.502, allocations: 20 kB / 0.5292 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007518/0.5028, allocations: 199.7 kB / 0.5294 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/0.5028, allocations: 23.88 kB / 0.5294 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009262/0.5037, allocations: 111.3 kB / 0.5295 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.5038, allocations: 64 kB / 0.5296 GB, free: 3.902 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.0007466/0.5046, allocations: 437.5 kB / 0.53 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.505, allocations: 401.5 kB / 0.5304 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/0.5076, allocations: 1.193 MB / 0.5316 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.5076, allocations: 8 kB / 0.5316 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5076, allocations: 0 / 0.5316 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.5076, allocations: 3.984 kB / 0.5316 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/0.5112, allocations: 2.093 MB / 0.5336 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001064/0.5113, allocations: 68 kB / 0.5337 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.5118, allocations: 95.8 kB / 0.5338 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.5118, allocations: 4 kB / 0.5338 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.564e-05/0.5119, allocations: 31.98 kB / 0.5338 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5119, allocations: 4.062 kB / 0.5338 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5119, allocations: 4 kB / 0.5338 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.515, allocations: 1.322 MB / 0.5351 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/0.5168, allocations: 498.3 kB / 0.5356 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000408/0.5172, allocations: 12 kB / 0.5356 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.518, allocations: 36.02 kB / 0.5356 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5181, allocations: 59.89 kB / 0.5357 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.873e-05/0.5182, allocations: 39.98 kB / 0.5357 GB, free: 13.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002992/0.5212, allocations: 1.903 MB / 0.5376 GB, free: 11.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5212, allocations: 0 / 0.5376 GB, free: 11.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001535/0.5228, allocations: 0.5891 MB / 0.5382 GB, free: 11 MB / 462.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.001215/0.524, allocations: 0.7691 MB / 0.5389 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.5258, allocations: 0.7778 MB / 0.5397 GB, free: 9.414 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5258, allocations: 0 / 0.5397 GB, free: 9.414 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.5266, allocations: 424.2 kB / 0.5401 GB, free: 8.977 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/0.5294, allocations: 0.6267 MB / 0.5407 GB, free: 8.344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/0.5365, allocations: 4.395 MB / 0.545 GB, free: 3.902 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.5378, allocations: 1.668 MB / 0.5466 GB, free: 2.207 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001152/0.5389, allocations: 361.1 kB / 0.547 GB, free: 1.848 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.5392, allocations: 147.4 kB / 0.5471 GB, free: 1.703 MB / 462.1 MB Notification: Performance of SimCode: time 2.865e-06/0.5392, allocations: 0 / 0.5471 GB, free: 1.703 MB / 462.1 MB Notification: Performance of Templates: time 0.2663/0.8055, allocations: 31.84 MB / 0.5782 GB, free: 100.3 MB / 462.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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.037136640399694] Failed to read output from testmodel.py, exit status != 0: ['time', 'mp1.S.v', 'mp2.S.v', 'v.p.v'] 0.8141643791459501 0.822386265 0.39147003100000005 Calling exit ...