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.001344/0.001344, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.001425/0.001425, allocations: 215.5 kB / 20.75 MB, free: 2.324 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.523/1.523, allocations: 230.4 MB / 254 MB, free: 15.02 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.00223/0.00223, allocations: 59.91 kB / 373.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1231, allocations: 53.38 MB / 426.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.004623/0.1277, allocations: 2.215 MB / 429.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006377/0.1284, allocations: 179.4 kB / 429.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.1285, allocations: 7.938 kB / 429.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.1287, allocations: 27.72 kB / 429.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.129, allocations: 55.61 kB / 429.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1291, allocations: 39.91 kB / 429.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.1295, allocations: 175.2 kB / 429.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1296, allocations: 37.53 kB / 429.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.1298, allocations: 63.78 kB / 429.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.13, allocations: 83.55 kB / 429.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.13, allocations: 16 kB / 429.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.048e-05/0.13, allocations: 12 kB / 429.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.1301, allocations: 27.86 kB / 429.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1302, allocations: 83.53 kB / 429.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.1305, allocations: 163.3 kB / 430 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1305, allocations: 4 kB / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1305, allocations: 0 / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1305, allocations: 0 / 430 MB, free: 0.8711 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.0008445/0.1313, allocations: 465.2 kB / 430.5 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1314, allocations: 8.031 kB / 430.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.1315, allocations: 20.83 kB / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.1319, allocations: 228.1 kB / 430.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1319, allocations: 8.375 kB / 430.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.132, allocations: 16.38 kB / 430.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.1323, allocations: 138 kB / 430.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1324, allocations: 192 / 430.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.1324, allocations: 11.88 kB / 430.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1324, allocations: 4 kB / 430.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.1327, allocations: 111.8 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1339, allocations: 0.592 MB / 431.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1341, allocations: 90.55 kB / 431.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1342, allocations: 52.84 kB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1342, allocations: 0 / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.1345, allocations: 113.1 kB / 431.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.684e-06/0.1345, allocations: 0 / 431.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004428/0.1349, allocations: 167.9 kB / 432 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.135, allocations: 85.09 kB / 432.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1352, allocations: 170.3 kB / 432.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1352, allocations: 29.7 kB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1353, allocations: 148.1 kB / 432.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.1354, allocations: 55.5 kB / 432.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.1355, allocations: 49.94 kB / 432.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1356, allocations: 330.8 kB / 432.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1357, allocations: 44.22 kB / 432.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.1359, allocations: 142 kB / 433.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.1364, allocations: 216.8 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1364, allocations: 4 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008716/0.1372, allocations: 301.9 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.1373, allocations: 8 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1373, allocations: 4 kB / 433.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005661/0.1378, allocations: 93.12 kB / 433.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.138, allocations: 43.92 kB / 433.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.1408, allocations: 1.7 MB / 435.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.141, allocations: 35.77 kB / 435.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.141, allocations: 19.94 kB / 435.5 MB, free: 10.93 MB / 366.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.0001593/0.1412, allocations: 142.2 kB / 435.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.1412, allocations: 19.84 kB / 435.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.017e-05/0.1412, allocations: 17.53 kB / 435.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1413, allocations: 4 kB / 435.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1413, allocations: 0 / 435.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1413, allocations: 3.984 kB / 435.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.142, allocations: 0.543 MB / 436.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.142, allocations: 4 kB / 436.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.1422, allocations: 23.92 kB / 436.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1422, allocations: 0 / 436.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1422, allocations: 4 kB / 436.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1422, allocations: 4.094 kB / 436.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1422, allocations: 0 / 436.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.1426, allocations: 293.9 kB / 436.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.1426, allocations: 89.02 kB / 436.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1427, allocations: 8.062 kB / 436.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.1428, allocations: 11.98 kB / 436.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.1429, allocations: 20.06 kB / 436.7 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1429, allocations: 7.984 kB / 436.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.143, allocations: 124.2 kB / 436.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.143, allocations: 0 / 436.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.1433, allocations: 47.89 kB / 436.8 MB, free: 9.457 MB / 366.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.0001503/0.1435, allocations: 119.1 kB / 437 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004807/0.144, allocations: 245.2 kB / 437.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.144, allocations: 0.8125 kB / 437.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1441, allocations: 56.05 kB / 437.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1444, allocations: 30.09 kB / 437.3 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1457, allocations: 451.5 kB / 437.7 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.146, allocations: 0.7242 MB / 438.4 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.351e-05/0.1461, allocations: 21.53 kB / 438.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.1461, allocations: 19.44 kB / 438.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1461, allocations: 0 / 438.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of Templates: time 0.005351/0.1515, allocations: 1.77 MB / 440.3 MB, free: 5.965 MB / 366.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: 4.747848443686962] Failed to read output from testmodel.py, exit status != 0: 0.160581286996603 0.340707999 0.208002564 Calling exit ...