Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008468/0.0008468, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004142/0.004142, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8498/0.8498, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.243e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003601/0.003624, allocations: 4.493 MB / 330.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007549/0.01117, allocations: 9.33 MB / 339.6 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003696/0.01154, allocations: 43.5 kB / 339.7 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.01266, allocations: 0.626 MB / 340.3 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.01437, allocations: 1.059 MB / 341.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009713/0.01534, allocations: 0.6016 MB / 342 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.01657, allocations: 1.436 MB / 343.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.01674, allocations: 113.7 kB / 343.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.01704, allocations: 414.9 kB / 343.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.01724, allocations: 227.1 kB / 344.1 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.01728, allocations: 32 kB / 344.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.018, allocations: 0.6712 MB / 344.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.01807, allocations: 111.3 kB / 345 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.01822, allocations: 223.2 kB / 345.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.01925, allocations: 1.332 MB / 346.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01925, allocations: 0 / 346.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01925, allocations: 4 kB / 346.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.01926, allocations: 0 / 346.5 MB, free: 10.61 MB / 314.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.001242/0.0205, allocations: 1.269 MB / 347.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.02053, allocations: 12.03 kB / 347.8 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.655e-05/0.02063, allocations: 120.2 kB / 347.9 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000669/0.0213, allocations: 0.6793 MB / 348.6 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.02132, allocations: 21.03 kB / 348.6 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.02136, allocations: 24.38 kB / 348.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.02175, allocations: 325.9 kB / 349 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.02176, allocations: 11.92 kB / 349 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.02178, allocations: 8 kB / 349 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.02179, allocations: 8 kB / 349 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.02214, allocations: 278.5 kB / 349.3 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.02327, allocations: 1.207 MB / 350.5 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.02372, allocations: 274.5 kB / 350.7 MB, free: 6.234 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.02395, allocations: 224.7 kB / 350.9 MB, free: 6.012 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/0.02548, allocations: 1.306 MB / 352.3 MB, free: 4.684 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.02573, allocations: 204.2 kB / 352.5 MB, free: 4.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.02573, allocations: 11.94 kB / 352.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008055/0.02654, allocations: 0.5496 MB / 353 MB, free: 3.902 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.02657, allocations: 59.41 kB / 353.1 MB, free: 3.832 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/0.02712, allocations: 0.8064 MB / 353.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.02714, allocations: 29.7 kB / 353.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.02736, allocations: 444.8 kB / 354.3 MB, free: 2.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.02742, allocations: 107.1 kB / 354.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.02749, allocations: 73.98 kB / 354.5 MB, free: 2.352 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.02757, allocations: 322 kB / 354.8 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.02773, allocations: 116.8 kB / 354.9 MB, free: 1.914 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.02793, allocations: 219 kB / 355.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008687/0.0288, allocations: 0.7167 MB / 355.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.0288, allocations: 0 / 355.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005198/0.02932, allocations: 0.5177 MB / 356.4 MB, free: 392 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.02933, allocations: 8 kB / 356.4 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.02937, allocations: 36 kB / 356.4 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-05/0.02945, allocations: 28.84 kB / 356.5 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.02963, allocations: 88.25 kB / 356.6 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006996/0.03033, allocations: 1.327 MB / 357.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.03047, allocations: 43.72 kB / 357.9 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.03049, allocations: 16 kB / 357.9 MB, free: 14.73 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.0307, allocations: 206.7 kB / 358.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.03076, allocations: 111.3 kB / 358.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005838/0.03134, allocations: 495.8 kB / 358.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.03135, allocations: 4 kB / 358.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.03135, allocations: 0 / 358.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.03135, allocations: 7.922 kB / 358.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.03168, allocations: 458.4 kB / 359.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/0.0317, allocations: 35.98 kB / 359.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.03187, allocations: 59.91 kB / 359.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.624e-05/0.03192, allocations: 36.77 kB / 359.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.03194, allocations: 12 kB / 359.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005806/0.03252, allocations: 1.299 MB / 360.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.03252, allocations: 0 / 360.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006521/0.03317, allocations: 0.611 MB / 361.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.03328, allocations: 115.3 kB / 361.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.03332, allocations: 8 kB / 361.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.03343, allocations: 15.98 kB / 361.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.03349, allocations: 35.83 kB / 361.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.03351, allocations: 12 kB / 361.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003855/0.0339, allocations: 0.5344 MB / 362 MB, free: 10.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0339, allocations: 4 kB / 362 MB, free: 10.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.03426, allocations: 251.3 kB / 362.2 MB, free: 10.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0004106/0.03467, allocations: 380.3 kB / 362.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.03523, allocations: 471.9 kB / 363 MB, free: 9.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.03524, allocations: 3.938 kB / 363 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.03551, allocations: 316.2 kB / 363.4 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.03584, allocations: 116.3 kB / 363.5 MB, free: 8.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.03744, allocations: 1.632 MB / 365.1 MB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.03763, allocations: 365.9 kB / 365.5 MB, free: 6.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.0377, allocations: 48.48 kB / 365.5 MB, free: 6.852 MB / 330.7 MB Notification: Performance of SimCode: time 4.3e-07/0.0377, allocations: 4 kB / 365.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of Templates: time 0.0112/0.04889, allocations: 14.49 MB / 380 MB, free: 8.363 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.917882640846074] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.055715334601700306 0.06384078900000001 0.042994859 Calling exit ...