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.001308/0.001308, allocations: 81.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.00216/0.00216, allocations: 160.5 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.422/1.422, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] 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=999,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=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 65.81 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09224, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006137/0.09838, allocations: 4.48 MB / 383.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.1107, allocations: 9.326 MB / 392.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.1113, allocations: 43.5 kB / 392.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.113, allocations: 0.6221 MB / 393.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.1159, allocations: 1.02 MB / 394.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1174, allocations: 0.6018 MB / 395 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.1196, allocations: 1.398 MB / 396.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.1198, allocations: 109.7 kB / 396.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.1202, allocations: 302.6 kB / 396.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.1206, allocations: 305.8 kB / 397.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.856e-05/0.1206, allocations: 32 kB / 397.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.1219, allocations: 0.6673 MB / 397.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.122, allocations: 107.3 kB / 397.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.1223, allocations: 302.1 kB / 398.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.1238, allocations: 1.284 MB / 399.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1239, allocations: 0 / 399.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1239, allocations: 0 / 399.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1239, allocations: 0 / 399.5 MB, free: 10.8 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.001941/0.1258, allocations: 1.282 MB / 400.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1258, allocations: 12.03 kB / 400.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.126, allocations: 124.1 kB / 400.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.127, allocations: 0.6684 MB / 401.6 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.1271, allocations: 28.53 kB / 401.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.1271, allocations: 31.98 kB / 401.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.1278, allocations: 318 kB / 401.9 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1278, allocations: 7.984 kB / 401.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.1278, allocations: 11.94 kB / 402 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1278, allocations: 8 kB / 402 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.1285, allocations: 270.5 kB / 402.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.1303, allocations: 1.211 MB / 403.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.131, allocations: 266.6 kB / 403.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.1314, allocations: 217 kB / 403.9 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00271/0.1341, allocations: 1.33 MB / 405.2 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004377/0.1346, allocations: 213 kB / 405.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.1346, allocations: 4 kB / 405.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.00144/0.136, allocations: 0.5492 MB / 406 MB, free: 4.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1361, allocations: 59.41 kB / 406.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009117/0.137, allocations: 0.8064 MB / 406.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.137, allocations: 29.7 kB / 406.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.1374, allocations: 444.8 kB / 407.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.1375, allocations: 111.1 kB / 407.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1376, allocations: 74.02 kB / 407.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1377, allocations: 325.9 kB / 407.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.138, allocations: 112.8 kB / 407.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.1384, allocations: 226.9 kB / 408.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.14, allocations: 0.7085 MB / 408.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.14, allocations: 3.938 kB / 408.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009639/0.141, allocations: 0.5142 MB / 409.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.141, allocations: 10.81 kB / 409.4 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.768e-05/0.1411, allocations: 36 kB / 409.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.1412, allocations: 32.84 kB / 409.5 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.1416, allocations: 84.16 kB / 409.5 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.1427, allocations: 1.331 MB / 410.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.143, allocations: 35.77 kB / 410.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.143, allocations: 20 kB / 410.9 MB, free: 14.89 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.0002881/0.1433, allocations: 201.8 kB / 411.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.1435, allocations: 119.2 kB / 411.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.1445, allocations: 492.1 kB / 411.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1445, allocations: 3.984 kB / 411.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1445, allocations: 4 kB / 411.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1445, allocations: 0 / 411.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.1451, allocations: 470.4 kB / 412.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.343e-05/0.1451, allocations: 32 kB / 412.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.1455, allocations: 55.95 kB / 412.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.569e-05/0.1455, allocations: 32.77 kB / 412.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.1456, allocations: 20 kB / 412.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.1466, allocations: 1.303 MB / 413.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.1466, allocations: 11.92 kB / 413.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.1479, allocations: 0.6147 MB / 414.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.1481, allocations: 107.5 kB / 414.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.1481, allocations: 11.94 kB / 414.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.1484, allocations: 11.98 kB / 414.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.1484, allocations: 31.94 kB / 414.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.1485, allocations: 12 kB / 414.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006466/0.1491, allocations: 0.5383 MB / 415 MB, free: 10.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1491, allocations: 3.938 kB / 415 MB, free: 10.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005819/0.1497, allocations: 247.4 kB / 415.2 MB, free: 10.42 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.0005573/0.1503, allocations: 360.7 kB / 415.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009495/0.1512, allocations: 469.2 kB / 416 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1512, allocations: 0 / 416 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.1517, allocations: 312.2 kB / 416.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.1523, allocations: 116.4 kB / 416.4 MB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.1551, allocations: 1.684 MB / 418.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1555, allocations: 369.9 kB / 418.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.1558, allocations: 85.2 kB / 418.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.1558, allocations: 48.5 kB / 418.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1558, allocations: 0 / 418.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of Templates: time 0.01683/0.1727, allocations: 8.215 MB / 426.8 MB, free: 14.74 MB / 398.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.449838161934167] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.18060015502851456 0.19522185800000003 0.06829937800000001 Calling exit ...