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.001298/0.001298, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001388/0.001388, allocations: 167.3 kB / 24.5 MB, free: 3.453 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.418/1.418, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.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.001525/0.001525, allocations: 51.48 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08658/0.0881, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005757/0.09386, allocations: 4.477 MB / 383.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.1051, allocations: 9.322 MB / 392.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.1054, allocations: 47.5 kB / 392.7 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.1069, allocations: 0.6183 MB / 393.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.109, allocations: 1.02 MB / 394.4 MB, free: 132 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.1102, allocations: 0.6059 MB / 395 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.1122, allocations: 1.401 MB / 396.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.1124, allocations: 109.8 kB / 396.5 MB, free: 14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.1128, allocations: 294.6 kB / 396.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.1132, allocations: 301.9 kB / 397.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.1133, allocations: 32 kB / 397.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.1145, allocations: 0.6712 MB / 397.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1146, allocations: 107.3 kB / 397.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.1149, allocations: 302.1 kB / 398.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.1165, allocations: 1.28 MB / 399.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1165, allocations: 0 / 399.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1165, allocations: 7.922 kB / 399.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1165, allocations: 0 / 399.5 MB, free: 11.01 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.001949/0.1185, allocations: 1.286 MB / 400.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1185, allocations: 8.031 kB / 400.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.1187, allocations: 128.1 kB / 400.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.1197, allocations: 0.6723 MB / 401.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1198, allocations: 28.53 kB / 401.6 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.1198, allocations: 24 kB / 401.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.1205, allocations: 318 kB / 401.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1205, allocations: 0 / 401.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.1205, allocations: 16 kB / 401.9 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1205, allocations: 11.94 kB / 402 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/0.1212, allocations: 278.5 kB / 402.2 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.1231, allocations: 1.207 MB / 403.4 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/0.1238, allocations: 270.7 kB / 403.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.1243, allocations: 213.6 kB / 403.9 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002739/0.127, allocations: 1.318 MB / 405.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004561/0.1275, allocations: 215 kB / 405.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.1275, allocations: 0 / 405.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001455/0.1289, allocations: 0.5614 MB / 406 MB, free: 4.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.129, allocations: 51.41 kB / 406 MB, free: 4.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/0.1299, allocations: 0.8025 MB / 406.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.1299, allocations: 33.7 kB / 406.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.1303, allocations: 440.8 kB / 407.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/0.1304, allocations: 119 kB / 407.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1305, allocations: 70.03 kB / 407.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1307, allocations: 325.9 kB / 407.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.131, allocations: 124.8 kB / 407.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.1314, allocations: 218.9 kB / 408.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.133, allocations: 0.7046 MB / 408.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.133, allocations: 4 kB / 408.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009886/0.134, allocations: 0.5145 MB / 409.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.134, allocations: 12 kB / 409.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-05/0.1341, allocations: 32 kB / 409.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.1342, allocations: 32.84 kB / 409.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.1346, allocations: 91.81 kB / 409.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.1358, allocations: 1.323 MB / 410.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.1361, allocations: 39.77 kB / 410.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.1361, allocations: 23.98 kB / 410.9 MB, free: 15.09 MB / 382.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.000281/0.1364, allocations: 201.7 kB / 411.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.1365, allocations: 115.2 kB / 411.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.1376, allocations: 492.3 kB / 411.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1376, allocations: 4 kB / 411.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1376, allocations: 0 / 411.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1376, allocations: 0 / 411.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.1382, allocations: 470.3 kB / 412.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.486e-05/0.1382, allocations: 43.92 kB / 412.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.1386, allocations: 51.95 kB / 412.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.068e-05/0.1387, allocations: 32.78 kB / 412.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.1387, allocations: 7.984 kB / 412.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.1398, allocations: 1.319 MB / 413.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1398, allocations: 3.938 kB / 413.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.141, allocations: 0.6177 MB / 414.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.1413, allocations: 115.2 kB / 414.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.1413, allocations: 15.92 kB / 414.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.1416, allocations: 20.05 kB / 414.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.1417, allocations: 27.95 kB / 414.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.1417, allocations: 8 kB / 414.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006623/0.1423, allocations: 0.5383 MB / 415 MB, free: 10.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1423, allocations: 3.938 kB / 415 MB, free: 10.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005729/0.1429, allocations: 243.4 kB / 415.2 MB, free: 10.61 MB / 382.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.0005562/0.1435, allocations: 352.4 kB / 415.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.1444, allocations: 477.4 kB / 416 MB, free: 9.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1444, allocations: 0 / 416 MB, free: 9.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005339/0.145, allocations: 317 kB / 416.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.1455, allocations: 116.3 kB / 416.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.1484, allocations: 1.683 MB / 418.1 MB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1488, allocations: 369.9 kB / 418.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002413/0.149, allocations: 89.12 kB / 418.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.1491, allocations: 44.5 kB / 418.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1491, allocations: 0 / 418.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01687/0.166, allocations: 8.204 MB / 426.8 MB, free: 14.95 MB / 398.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 -s ida -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.307695995084941] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.17338302999269217 0.18815977399999995 0.06871458700000001 Calling exit ...