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.001221/0.001221, allocations: 92.28 kB / 21.44 MB, free: 3.129 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.006997/0.006997, allocations: 157.9 kB / 24.7 MB, free: 8.906 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.8731/0.8731, allocations: 177 MB / 204.9 MB, free: 5.746 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.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 1.924e-06/1.924e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.55e-05, allocations: 2.281 kB / 325.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.002286/0.002312, allocations: 2.117 MB / 327.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003734/0.002685, allocations: 183.3 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.002788, allocations: 3.938 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.00289, allocations: 23.78 kB / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.003294, allocations: 55.5 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.003397, allocations: 43.88 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.003556, allocations: 171.2 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.003686, allocations: 33.78 kB / 328.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.003797, allocations: 103.8 kB / 328.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.003876, allocations: 55.8 kB / 328.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.003904, allocations: 16 kB / 328.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.003921, allocations: 12 kB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.003949, allocations: 27.86 kB / 328.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.004001, allocations: 59.83 kB / 328.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004168, allocations: 163.4 kB / 328.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.004171, allocations: 4 kB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.004173, allocations: 0 / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.004178, allocations: 0 / 328.9 MB, free: 12.25 MB / 298.7 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.0005301/0.004708, allocations: 381.5 kB / 329.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.004754, allocations: 15.98 kB / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.004806, allocations: 20.84 kB / 329.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.005063, allocations: 153.5 kB / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.005078, allocations: 20.31 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.005104, allocations: 16.36 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.005324, allocations: 164.5 kB / 329.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.005333, allocations: 4.188 kB / 329.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.005348, allocations: 4.375 kB / 329.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.005355, allocations: 4.375 kB / 329.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.005492, allocations: 108.6 kB / 329.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.006086, allocations: 0.5022 MB / 330.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.006236, allocations: 94.61 kB / 330.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.141e-05/0.006298, allocations: 44.84 kB / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.006321, allocations: 0 / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.006495, allocations: 150.6 kB / 330.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.006496, allocations: 0 / 330.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002664/0.006763, allocations: 157.5 kB / 330.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.006804, allocations: 81.11 kB / 330.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.006917, allocations: 182.5 kB / 331 MB, free: 10 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006931, allocations: 33.7 kB / 331 MB, free: 9.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.006999, allocations: 152.1 kB / 331.1 MB, free: 9.809 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.007024, allocations: 43.69 kB / 331.2 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.007072, allocations: 49.89 kB / 331.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.007152, allocations: 326.8 kB / 331.5 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.007211, allocations: 44.2 kB / 331.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.874e-05/0.00731, allocations: 145.8 kB / 331.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.007541, allocations: 212.7 kB / 331.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.007544, allocations: 4 kB / 331.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004177/0.007961, allocations: 302.1 kB / 332.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.007979, allocations: 8 kB / 332.2 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.007985, allocations: 4 kB / 332.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.008253, allocations: 101 kB / 332.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.008353, allocations: 43.92 kB / 332.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.009774, allocations: 1.574 MB / 334 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.009854, allocations: 39.83 kB / 334 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.009865, allocations: 12 kB / 334 MB, free: 6.695 MB / 298.7 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.0001037/0.009968, allocations: 138 kB / 334.2 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.009984, allocations: 23.84 kB / 334.2 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.01001, allocations: 21.45 kB / 334.2 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01001, allocations: 4 kB / 334.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01001, allocations: 7.938 kB / 334.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01002, allocations: 0 / 334.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.0104, allocations: 487.7 kB / 334.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0104, allocations: 0 / 334.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.01047, allocations: 23.92 kB / 334.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01047, allocations: 3.938 kB / 334.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.01048, allocations: 8.141 kB / 334.7 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01048, allocations: 96 / 334.7 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01048, allocations: 4 kB / 334.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.01069, allocations: 284.9 kB / 335 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.01071, allocations: 19.92 kB / 335 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.01072, allocations: 7.938 kB / 335 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.01078, allocations: 11.98 kB / 335 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.01082, allocations: 15.92 kB / 335.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.01083, allocations: 4 kB / 335.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00033/0.01116, allocations: 131.3 kB / 335.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01116, allocations: 4 kB / 335.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.01136, allocations: 43.94 kB / 335.2 MB, free: 5.402 MB / 298.7 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.0001028/0.01147, allocations: 103.2 kB / 335.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.01176, allocations: 247.1 kB / 335.6 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01176, allocations: 4.062 kB / 335.6 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.63e-05/0.01183, allocations: 51.92 kB / 335.6 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.01204, allocations: 27.2 kB / 335.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/0.01276, allocations: 455 kB / 336.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.797e-05/0.01283, allocations: 111.6 kB / 336.2 MB, free: 4.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.01286, allocations: 20.5 kB / 336.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01286, allocations: 0 / 336.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of Templates: time 0.00291/0.01577, allocations: 2.318 MB / 338.5 MB, free: 2.004 MB / 298.7 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.380736129358411] Failed to read output from testmodel.py, exit status != 0: 0.022530479356646538 0.031326734 0.025513415 Calling exit ...