Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.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.001272/0.001272, allocations: 120 kB / 18.46 MB, free: 4.559 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.002384/0.002384, allocations: 208.9 kB / 21.42 MB, free: 1.605 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.455/1.455, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.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.Analog.Examples.OpAmps.MeasureRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.89 kB / 374.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1238, allocations: 53.37 MB / 427.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.004281/0.1281, allocations: 2.211 MB / 429.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005467/0.1286, allocations: 183.3 kB / 430 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1287, allocations: 3.938 kB / 430 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.1289, allocations: 27.78 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.1291, allocations: 55.56 kB / 430 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.1292, allocations: 43.94 kB / 430.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.1295, allocations: 167.2 kB / 430.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1296, allocations: 41.53 kB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1297, allocations: 67.72 kB / 430.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1299, allocations: 71.62 kB / 430.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1299, allocations: 16 kB / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.1299, allocations: 12 kB / 430.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.13, allocations: 35.8 kB / 430.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.185e-05/0.1301, allocations: 79.58 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1303, allocations: 163.3 kB / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.872e-06/0.1303, allocations: 3.984 kB / 430.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1303, allocations: 0 / 430.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1303, allocations: 0 / 430.7 MB, free: 0.9414 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007548/0.1311, allocations: 462.7 kB / 431.2 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1311, allocations: 11.97 kB / 431.2 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.1312, allocations: 16.84 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1315, allocations: 232 kB / 431.4 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1315, allocations: 12.38 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.1316, allocations: 12.38 kB / 431.5 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.208/0.3395, allocations: 142 kB / 431.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.3396, allocations: 3 kB / 431.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.3396, allocations: 5.844 kB / 431.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.3396, allocations: 6.188 kB / 431.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.34, allocations: 107.5 kB / 431.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.341, allocations: 0.5884 MB / 432.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.3412, allocations: 84.31 kB / 432.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.3413, allocations: 51.86 kB / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.3413, allocations: 5.25 kB / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.3416, allocations: 113 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.3416, allocations: 0.9844 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004185/0.342, allocations: 163 kB / 432.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.342, allocations: 83.7 kB / 432.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3422, allocations: 181.8 kB / 433 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3422, allocations: 28.61 kB / 433 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.3422, allocations: 148.5 kB / 433.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.3423, allocations: 48.42 kB / 433.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.3423, allocations: 45.86 kB / 433.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.3424, allocations: 336 kB / 433.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3425, allocations: 39.98 kB / 433.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3426, allocations: 148.8 kB / 433.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.343, allocations: 210.1 kB / 434 MB, free: 9.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.343, allocations: 3.984 kB / 434 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007312/0.3437, allocations: 304.6 kB / 434.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3437, allocations: 4.094 kB / 434.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3437, allocations: 3.938 kB / 434.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000532/0.3442, allocations: 99.31 kB / 434.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3444, allocations: 44.64 kB / 434.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.3466, allocations: 1.695 MB / 436.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3468, allocations: 39.36 kB / 436.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3468, allocations: 11.48 kB / 436.2 MB, free: 8.324 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: t10:DISCRETE(start = 0.0 unit = \"s\" fixed = true ) \"Time when output reaches 10% Vin\" type: Real t90:DISCRETE(start = 0.0 unit = \"s\" fixed = true ) \"Time when output reaches 90% Vin\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.t10,$PRE.t90,t90,t10,opAmp.satNeg,opAmp.satPos,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.3469, allocations: 150.9 kB / 436.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3469, allocations: 15.88 kB / 436.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.347, allocations: 17.5 kB / 436.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.347, allocations: 1.219 kB / 436.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.347, allocations: 4.438 kB / 436.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.347, allocations: 7.141 kB / 436.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.3475, allocations: 0.5321 MB / 436.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3475, allocations: 4.906 kB / 436.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.3476, allocations: 19.92 kB / 436.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3476, allocations: 2.188 kB / 436.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3477, allocations: 9.625 kB / 436.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3477, allocations: 6.094 kB / 436.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3477, allocations: 2.875 kB / 436.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.348, allocations: 286.1 kB / 437.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.348, allocations: 99.11 kB / 437.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3481, allocations: 6.344 kB / 437.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.3482, allocations: 15.59 kB / 437.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.3482, allocations: 14.55 kB / 437.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3482, allocations: 8.453 kB / 437.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.434e-05/0.3483, allocations: 124.4 kB / 437.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3483, allocations: 1.094 kB / 437.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.3487, allocations: 47.48 kB / 437.5 MB, free: 7.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (opAmp.v_int) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,t10,t90,opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.3488, allocations: 106.7 kB / 437.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.3492, allocations: 255.3 kB / 437.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3492, allocations: 0 / 437.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3493, allocations: 53.36 kB / 437.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3496, allocations: 29.27 kB / 437.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3507, allocations: 488.5 kB / 438.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.3509, allocations: 0.7265 MB / 439.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.3509, allocations: 18.53 kB / 439.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3509, allocations: 0.8438 kB / 439.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of Templates: time 0.00518/0.3561, allocations: 2.254 MB / 441.4 MB, free: 6.035 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.076223039068282] Failed to read output from testmodel.py, exit status != 0: 0.36417405505198985 0.374908623 0.242042468 Calling exit ...