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.001764/0.001764, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002056/0.002056, allocations: 165 kB / 24.5 MB, free: 3.453 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.476/1.476, allocations: 177.1 MB / 204.7 MB, free: 9.004 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.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.001933/0.001933, allocations: 58.44 kB / 325.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1137, allocations: 53.4 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.003612/0.1173, allocations: 2.115 MB / 381.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004748/0.1178, allocations: 179.4 kB / 381.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.1179, allocations: 7.938 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.1181, allocations: 23.72 kB / 381.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.1183, allocations: 55.62 kB / 381.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.1184, allocations: 35.89 kB / 381.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.1187, allocations: 175.2 kB / 381.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1188, allocations: 41.72 kB / 381.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.119, allocations: 67.78 kB / 381.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1191, allocations: 71.56 kB / 381.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.1191, allocations: 12 kB / 381.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.007e-05/0.1192, allocations: 12 kB / 381.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.1192, allocations: 31.92 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.731e-05/0.1193, allocations: 67.59 kB / 381.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.1196, allocations: 163.3 kB / 382 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1196, allocations: 0 / 382 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1196, allocations: 0 / 382 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1196, allocations: 0 / 382 MB, free: 12.43 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.0007427/0.1203, allocations: 389.5 kB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1204, allocations: 11.98 kB / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.1204, allocations: 16.84 kB / 382.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.1207, allocations: 170.2 kB / 382.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1208, allocations: 8.375 kB / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.1208, allocations: 16.38 kB / 382.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.1211, allocations: 164.3 kB / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1211, allocations: 4.188 kB / 382.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1212, allocations: 7.938 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1212, allocations: 4 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.1214, allocations: 112.8 kB / 382.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.1223, allocations: 0.4906 MB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1225, allocations: 90.61 kB / 383.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1226, allocations: 60.7 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1226, allocations: 4 kB / 383.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.1229, allocations: 130.8 kB / 383.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1229, allocations: 0 / 383.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003973/0.1233, allocations: 169.5 kB / 383.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.1234, allocations: 77.11 kB / 383.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1236, allocations: 186.4 kB / 384.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1236, allocations: 29.7 kB / 384.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1237, allocations: 152.1 kB / 384.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.1238, allocations: 39.69 kB / 384.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.1238, allocations: 53.89 kB / 384.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.124, allocations: 326.8 kB / 384.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1241, allocations: 44.2 kB / 384.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.1243, allocations: 145.2 kB / 384.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.1247, allocations: 216.8 kB / 385.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1247, allocations: 8 kB / 385.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007752/0.1254, allocations: 301.9 kB / 385.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1255, allocations: 7.984 kB / 385.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1255, allocations: 4 kB / 385.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.126, allocations: 97.14 kB / 385.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.1262, allocations: 43.91 kB / 385.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.1287, allocations: 1.574 MB / 387.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.1289, allocations: 31.91 kB / 387.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1289, allocations: 12 kB / 387.1 MB, free: 6.875 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.0001649/0.129, allocations: 142.8 kB / 387.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1291, allocations: 15.91 kB / 387.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.1291, allocations: 25.39 kB / 387.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1291, allocations: 0 / 387.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1291, allocations: 4 kB / 387.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1291, allocations: 3.938 kB / 387.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.1298, allocations: 491.8 kB / 387.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1298, allocations: 4 kB / 387.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1299, allocations: 16 kB / 387.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.1299, allocations: 7.984 kB / 387.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1299, allocations: 3.938 kB / 387.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1299, allocations: 4.094 kB / 387.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1299, allocations: 4 kB / 387.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.1303, allocations: 289.9 kB / 388.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.1304, allocations: 11.94 kB / 388.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1304, allocations: 8 kB / 388.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1305, allocations: 11.98 kB / 388.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.1306, allocations: 20.05 kB / 388.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1306, allocations: 4 kB / 388.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1307, allocations: 131.3 kB / 388.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1307, allocations: 0 / 388.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.131, allocations: 40 kB / 388.3 MB, free: 5.574 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.0001378/0.1311, allocations: 107.1 kB / 388.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004569/0.1316, allocations: 251.2 kB / 388.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1316, allocations: 4.062 kB / 388.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.1317, allocations: 47.92 kB / 388.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.132, allocations: 32.22 kB / 388.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.1333, allocations: 456.8 kB / 389.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.1334, allocations: 111.6 kB / 389.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.015e-05/0.1335, allocations: 25.61 kB / 389.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.1335, allocations: 20.44 kB / 389.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1335, allocations: 4 kB / 389.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of Templates: time 0.005374/0.1389, allocations: 1.723 MB / 391.1 MB, free: 2.773 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 -s ida -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.535041433060542] Failed to read output from testmodel.py, exit status != 0: 0.14746790006756783 0.163004473 0.040055253000000006 Calling exit ...