Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.001362/0.001362, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.000935/0.000935, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8813/0.8813, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.382e-05, allocations: 8.922 kB / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003672/0.003686, allocations: 4.792 MB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007273/0.01096, allocations: 10.18 MB / 288.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.01123, allocations: 43.56 kB / 288.4 MB, free: 2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.01215, allocations: 0.6502 MB / 289 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.01348, allocations: 1.065 MB / 290.1 MB, free: 280 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1008/0.1143, allocations: 0.6111 MB / 290.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.1164, allocations: 1.461 MB / 292.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.1167, allocations: 123.9 kB / 292.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008083/0.1175, allocations: 0.5738 MB / 292.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.1178, allocations: 248 kB / 293.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.1179, allocations: 30.44 kB / 293.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.1191, allocations: 0.6672 MB / 293.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1192, allocations: 114.3 kB / 293.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.1195, allocations: 224.7 kB / 294.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.1209, allocations: 1.078 MB / 295.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1209, allocations: 1.656 kB / 295.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1209, allocations: 1.766 kB / 295.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.1209, allocations: 0 / 295.2 MB, free: 15.45 MB / 266.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.00143/0.1223, allocations: 1.255 MB / 296.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1224, allocations: 17.2 kB / 296.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1225, allocations: 98.09 kB / 296.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/0.1231, allocations: 0.6047 MB / 297.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1232, allocations: 19.17 kB / 297.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.1232, allocations: 28.3 kB / 297.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.1235, allocations: 223.5 kB / 297.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1235, allocations: 3.938 kB / 297.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.1235, allocations: 10.78 kB / 297.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1236, allocations: 15.56 kB / 297.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1237, allocations: 87.38 kB / 297.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009988/0.1247, allocations: 0.8535 MB / 298.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.1249, allocations: 180 kB / 298.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.125, allocations: 121 kB / 298.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/0.1272, allocations: 1.524 MB / 300.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.1273, allocations: 125.3 kB / 300.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.1273, allocations: 0 / 300.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005318/0.1279, allocations: 314.5 kB / 300.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.1279, allocations: 54.86 kB / 300.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/0.1284, allocations: 0.7363 MB / 301.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1284, allocations: 30.64 kB / 301.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.1285, allocations: 289.3 kB / 301.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.1286, allocations: 115.8 kB / 301.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.1287, allocations: 65.25 kB / 302 MB, free: 12.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.909e-05/0.1287, allocations: 319.4 kB / 302.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.1288, allocations: 39.27 kB / 302.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/0.1288, allocations: 145.3 kB / 302.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.129, allocations: 227.7 kB / 302.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.129, allocations: 1.031 kB / 302.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003273/0.1293, allocations: 307.6 kB / 303 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1294, allocations: 7.219 kB / 303 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.1294, allocations: 11.16 kB / 303 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.1295, allocations: 42.89 kB / 303 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.1297, allocations: 82.17 kB / 303.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000666/0.1303, allocations: 2.36 MB / 305.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.1305, allocations: 40.36 kB / 305.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.1305, allocations: 16.5 kB / 305.5 MB, free: 9.922 MB / 266.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.0001045/0.1306, allocations: 134.5 kB / 305.7 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.1307, allocations: 77.22 kB / 305.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.131, allocations: 311 kB / 306 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.131, allocations: 7.469 kB / 306.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.131, allocations: 0 / 306.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.131, allocations: 1.547 kB / 306.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.1313, allocations: 312.7 kB / 306.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.1313, allocations: 3.469 kB / 306.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1314, allocations: 41.22 kB / 306.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.98e-05/0.1315, allocations: 45.39 kB / 306.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1315, allocations: 10.97 kB / 306.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005733/0.1321, allocations: 2.363 MB / 308.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1321, allocations: 3.656 kB / 308.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1324, allocations: 318.1 kB / 309.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.845e-05/0.1325, allocations: 96.38 kB / 309.2 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.1325, allocations: 6.531 kB / 309.2 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1326, allocations: 13.55 kB / 309.2 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.1327, allocations: 20.14 kB / 309.3 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1327, allocations: 8.219 kB / 309.3 MB, free: 7.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002072/0.1329, allocations: 372.5 kB / 309.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1329, allocations: 0 / 309.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004391/0.1334, allocations: 260.8 kB / 309.9 MB, free: 7.082 MB / 266.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.0004055/0.1338, allocations: 391.6 kB / 310.3 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.1341, allocations: 425.6 kB / 310.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.1341, allocations: 9.75 kB / 310.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.1343, allocations: 339.1 kB / 311 MB, free: 6.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1346, allocations: 113.4 kB / 311.1 MB, free: 6.418 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1358, allocations: 1.342 MB / 312.5 MB, free: 5.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.882e-05/0.1359, allocations: 153.9 kB / 312.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.136, allocations: 76.77 kB / 312.7 MB, free: 5.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.1362, allocations: 153.7 kB / 312.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1362, allocations: 0 / 312.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of Templates: time 0.01207/0.1482, allocations: 9.677 MB / 322.5 MB, free: 12.63 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.619939646217972]