Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.0007867/0.0007867, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0007713/0.0007713, allocations: 160.4 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.8323/0.8323, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 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.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.005e-05, allocations: 2.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00345/0.00347, allocations: 4.424 MB / 304.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00616/0.00963, allocations: 8.996 MB / 313.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.009927, allocations: 43.56 kB / 313.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.01097, allocations: 0.6142 MB / 313.8 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.01249, allocations: 1.039 MB / 314.8 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008539/0.01334, allocations: 0.6132 MB / 315.4 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.01446, allocations: 1.382 MB / 316.8 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.01463, allocations: 109.8 kB / 316.9 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.0149, allocations: 402.9 kB / 317.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.01509, allocations: 215.2 kB / 317.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.01512, allocations: 32 kB / 317.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009567/0.01608, allocations: 0.6478 MB / 318.2 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.01614, allocations: 103.3 kB / 318.3 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.01628, allocations: 227.3 kB / 318.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009547/0.01723, allocations: 1.335 MB / 319.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01724, allocations: 0 / 319.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01724, allocations: 0 / 319.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.01725, allocations: 0 / 319.9 MB, free: 2.664 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001167/0.01841, allocations: 1.262 MB / 321.1 MB, free: 1.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.01845, allocations: 15.98 kB / 321.1 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.01854, allocations: 120.2 kB / 321.2 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.01922, allocations: 0.6871 MB / 321.9 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.01925, allocations: 28.72 kB / 322 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.01929, allocations: 28 kB / 322 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.01965, allocations: 322 kB / 322.3 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01966, allocations: 0 / 322.3 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.01968, allocations: 8 kB / 322.3 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01969, allocations: 11.98 kB / 322.3 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.02005, allocations: 274.5 kB / 322.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.02116, allocations: 1.211 MB / 323.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.02155, allocations: 278.5 kB / 324.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.02178, allocations: 212.8 kB / 324.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002139/0.02392, allocations: 1.451 MB / 325.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.0242, allocations: 183.3 kB / 325.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.0242, allocations: 0 / 325.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009462/0.02515, allocations: 0.5804 MB / 326.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.02519, allocations: 59.41 kB / 326.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.02576, allocations: 0.8029 MB / 327.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.02578, allocations: 29.7 kB / 327.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.02603, allocations: 452.7 kB / 327.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.02609, allocations: 95.17 kB / 327.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.02616, allocations: 77.97 kB / 328 MB, free: 10.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.02625, allocations: 325.9 kB / 328.3 MB, free: 9.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.02642, allocations: 124.8 kB / 328.4 MB, free: 9.805 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.02662, allocations: 216.5 kB / 328.6 MB, free: 9.547 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.027, allocations: 368.8 kB / 329 MB, free: 9.141 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.027, allocations: 0 / 329 MB, free: 9.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005583/0.02756, allocations: 0.5141 MB / 329.5 MB, free: 8.613 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.02758, allocations: 12.06 kB / 329.5 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.02761, allocations: 32 kB / 329.6 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.02779, allocations: 61.61 kB / 329.6 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.02796, allocations: 75.83 kB / 329.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.02967, allocations: 2.595 MB / 332.3 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.02982, allocations: 39.78 kB / 332.3 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.02985, allocations: 20 kB / 332.4 MB, free: 5.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.03005, allocations: 197.7 kB / 332.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.03011, allocations: 107.3 kB / 332.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006131/0.03073, allocations: 497.6 kB / 333.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.03073, allocations: 7.984 kB / 333.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.03074, allocations: 7.938 kB / 333.2 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.03074, allocations: 0 / 333.2 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.03109, allocations: 462.5 kB / 333.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/0.03111, allocations: 28 kB / 333.6 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.03124, allocations: 43.95 kB / 333.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.832e-05/0.03134, allocations: 57.61 kB / 333.7 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.03135, allocations: 8 kB / 333.7 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.0325, allocations: 2.595 MB / 336.3 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.0325, allocations: 0 / 336.3 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.03316, allocations: 0.6039 MB / 336.9 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.03328, allocations: 115.2 kB / 337 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.03332, allocations: 7.984 kB / 337.1 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.03342, allocations: 11.98 kB / 337.1 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.03349, allocations: 27.95 kB / 337.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.03351, allocations: 16 kB / 337.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004057/0.03392, allocations: 0.5385 MB / 337.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03392, allocations: 4.062 kB / 337.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004504/0.03437, allocations: 243.4 kB / 337.9 MB, free: 15.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004828/0.03485, allocations: 383.8 kB / 338.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006747/0.03552, allocations: 0.5661 MB / 338.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.03553, allocations: 0 / 338.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.03614, allocations: 430.8 kB / 339.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.03644, allocations: 92.7 kB / 339.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.03791, allocations: 1.507 MB / 340.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.0381, allocations: 369.2 kB / 341.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.03816, allocations: 44.5 kB / 341.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03816, allocations: 0 / 341.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of Templates: time 0.1266/0.1648, allocations: 18 MB / 359.3 MB, free: 61.45 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.1245827386155725] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.1719995578750968 0.17950929200000001 0.160920156 Calling exit ...