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.001547/0.001547, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 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.00133/0.00133, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+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 0.001568/0.001568, allocations: 47.92 kB / 374.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1059, allocations: 53.34 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.2159/0.3218, allocations: 5.096 MB / 432.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.3324, allocations: 10.84 MB / 443.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.3338, allocations: 41.19 kB / 443.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.3361, allocations: 0.7039 MB / 444.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00378/0.3399, allocations: 1.01 MB / 445.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3423, allocations: 0.6125 MB / 445.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.3452, allocations: 1.386 MB / 447.2 MB, free: 440 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.3455, allocations: 117.7 kB / 447.3 MB, free: 364 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.3459, allocations: 298.9 kB / 447.6 MB, free: 236 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.3463, allocations: 332.7 kB / 447.9 MB, free: 52 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.3463, allocations: 32.06 kB / 447.9 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.3485, allocations: 0.7446 MB / 448.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.3486, allocations: 107 kB / 448.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.349, allocations: 395.7 kB / 449.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.3513, allocations: 1.285 MB / 450.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3513, allocations: 5.656 kB / 450.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3513, allocations: 0 / 450.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.3513, allocations: 0 / 450.5 MB, free: 14.97 MB / 366.1 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.002408/0.3537, allocations: 1.35 MB / 451.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3537, allocations: 9.312 kB / 451.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.3539, allocations: 121.2 kB / 451.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.3551, allocations: 0.753 MB / 452.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.3552, allocations: 24.45 kB / 452.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.3552, allocations: 29.59 kB / 452.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.356, allocations: 320 kB / 453.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.356, allocations: 3.938 kB / 453.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.356, allocations: 12.23 kB / 453.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.356, allocations: 11.45 kB / 453.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.3568, allocations: 273.6 kB / 453.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.3591, allocations: 1.37 MB / 454.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007408/0.3598, allocations: 271 kB / 455 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.3603, allocations: 218.1 kB / 455.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004339/0.3646, allocations: 2.808 MB / 458 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004794/0.3651, allocations: 204.4 kB / 458.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.926e-06/0.3651, allocations: 0 / 458.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001647/0.3667, allocations: 0.6321 MB / 458.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.3668, allocations: 60.88 kB / 458.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3679, allocations: 0.8063 MB / 459.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.3679, allocations: 35.2 kB / 459.7 MB, free: 8.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.3684, allocations: 442.1 kB / 460.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3685, allocations: 114.3 kB / 460.3 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.3686, allocations: 75.23 kB / 460.4 MB, free: 8.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3688, allocations: 327.7 kB / 460.7 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.3691, allocations: 115.1 kB / 460.8 MB, free: 7.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.3695, allocations: 216.3 kB / 461 MB, free: 7.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.3712, allocations: 0.7127 MB / 461.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.3712, allocations: 1.094 kB / 461.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001149/0.3724, allocations: 0.5159 MB / 462.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3724, allocations: 7.016 kB / 462.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.974e-05/0.3724, allocations: 35.97 kB / 462.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/0.3726, allocations: 35.98 kB / 462.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.373, allocations: 81.88 kB / 462.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.3744, allocations: 1.446 MB / 463.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.3749, allocations: 48.14 kB / 463.9 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.3749, allocations: 15.66 kB / 463.9 MB, free: 5.777 MB / 366.1 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.000395/0.3753, allocations: 212.5 kB / 464.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.3754, allocations: 115.7 kB / 464.2 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.3766, allocations: 478.9 kB / 464.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3766, allocations: 7.344 kB / 464.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3766, allocations: 4.906 kB / 464.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3766, allocations: 0 / 464.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007852/0.3774, allocations: 0.5806 MB / 465.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.994e-05/0.3774, allocations: 36.2 kB / 465.3 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.3778, allocations: 61.38 kB / 465.4 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/0.3779, allocations: 28.78 kB / 465.4 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.3779, allocations: 9.438 kB / 465.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.3791, allocations: 1.442 MB / 466.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3791, allocations: 2.25 kB / 466.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.3805, allocations: 0.6179 MB / 467.5 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.3808, allocations: 182.8 kB / 467.6 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.3809, allocations: 6.5 kB / 467.7 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.3811, allocations: 19.19 kB / 467.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.705e-05/0.3812, allocations: 24.34 kB / 467.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.3812, allocations: 19.75 kB / 467.7 MB, free: 2.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000844/0.3821, allocations: 0.5429 MB / 468.3 MB, free: 2.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3821, allocations: 1.094 kB / 468.3 MB, free: 2.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000878/0.383, allocations: 245.3 kB / 468.5 MB, free: 2.324 MB / 366.1 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.0006885/0.3837, allocations: 363 kB / 468.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.3848, allocations: 465.9 kB / 469.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3848, allocations: 1.25 kB / 469.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.3853, allocations: 320.5 kB / 469.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.3859, allocations: 114.7 kB / 469.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.3892, allocations: 1.735 MB / 471.5 MB, free: 0.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.3898, allocations: 0.9573 MB / 472.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.39, allocations: 50.02 kB / 472.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.39, allocations: 0 / 472.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of Templates: time 0.02164/0.4116, allocations: 14.09 MB / 486.6 MB, free: 4.234 MB / 382.1 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: 8.288327233982272] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.4201547119882889 0.432357035 0.07820082 Calling exit ...