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.001726/0.001726, allocations: 85.5 kB / 20.68 MB, free: 1.035 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.002155/0.002155, allocations: 159 kB / 23.95 MB, free: 4.168 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.559/1.559, allocations: 177 MB / 204.1 MB, free: 9.172 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 1.273e-06/1.273e-06, allocations: 0 / 325.1 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.747e-05, allocations: 2.281 kB / 325.1 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.003781/0.003808, allocations: 2.118 MB / 327.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006772/0.004486, allocations: 185.8 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.004701, allocations: 7.125 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.004873, allocations: 22.38 kB / 327.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.005178, allocations: 57.92 kB / 327.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.005355, allocations: 45.59 kB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.005712, allocations: 173.1 kB / 327.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.005874, allocations: 36.22 kB / 327.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.006114, allocations: 102.6 kB / 327.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.006253, allocations: 50.75 kB / 327.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.006306, allocations: 13.34 kB / 327.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.785e-05/0.006343, allocations: 13.34 kB / 327.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.006396, allocations: 34 kB / 327.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.006499, allocations: 54.7 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.006809, allocations: 162.6 kB / 328.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.006812, allocations: 6.188 kB / 328.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006813, allocations: 0 / 328.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.006825, allocations: 3.938 kB / 328.1 MB, free: 14.5 MB / 302.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.0008207/0.007646, allocations: 385.8 kB / 328.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.007695, allocations: 13.42 kB / 328.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.007775, allocations: 17.91 kB / 328.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.008156, allocations: 163.2 kB / 328.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.008172, allocations: 13.75 kB / 328.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.008215, allocations: 14.73 kB / 328.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.008578, allocations: 163.5 kB / 328.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.008591, allocations: 192 / 328.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.008613, allocations: 5.469 kB / 328.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.008621, allocations: 4.875 kB / 328.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.00893, allocations: 110.8 kB / 329 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.01007, allocations: 0.4998 MB / 329.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.01032, allocations: 89.23 kB / 329.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.01044, allocations: 54.16 kB / 329.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.01047, allocations: 2.25 kB / 329.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.01075, allocations: 141.9 kB / 329.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.01076, allocations: 0 / 329.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004884/0.01124, allocations: 170.2 kB / 329.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.01134, allocations: 81.11 kB / 330 MB, free: 13.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.01157, allocations: 180.6 kB / 330.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.0116, allocations: 30.77 kB / 330.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.01178, allocations: 151.4 kB / 330.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.01183, allocations: 41.86 kB / 330.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.01193, allocations: 50.47 kB / 330.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.01211, allocations: 328.2 kB / 330.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.01223, allocations: 47.94 kB / 330.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.01243, allocations: 150.9 kB / 331 MB, free: 12.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.01286, allocations: 210.5 kB / 331.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01287, allocations: 0 / 331.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008802/0.01375, allocations: 297.5 kB / 331.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.01377, allocations: 8.109 kB / 331.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.01378, allocations: 7.094 kB / 331.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/0.01434, allocations: 102.4 kB / 331.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.01453, allocations: 41.02 kB / 331.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.01753, allocations: 1.574 MB / 333.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.01773, allocations: 35.2 kB / 333.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.01776, allocations: 13.81 kB / 333.3 MB, free: 10.45 MB / 302.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.0002081/0.01797, allocations: 142.4 kB / 333.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.018, allocations: 19.59 kB / 333.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.01805, allocations: 21.67 kB / 333.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01805, allocations: 1.219 kB / 333.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01806, allocations: 5.25 kB / 333.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01806, allocations: 1.094 kB / 333.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/0.01884, allocations: 482 kB / 333.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01885, allocations: 0 / 333.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.01898, allocations: 28.58 kB / 333.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.01898, allocations: 5 kB / 333.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.019, allocations: 6.156 kB / 334 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.019, allocations: 2.344 kB / 334 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01901, allocations: 0.9375 kB / 334 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.01948, allocations: 277.5 kB / 334.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.01952, allocations: 21.36 kB / 334.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.01955, allocations: 10.41 kB / 334.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.01968, allocations: 19.23 kB / 334.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.01975, allocations: 17.44 kB / 334.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.01977, allocations: 4.375 kB / 334.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.01992, allocations: 132.2 kB / 334.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01992, allocations: 1.031 kB / 334.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.0203, allocations: 40.72 kB / 334.5 MB, free: 9.469 MB / 302.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.0001646/0.02047, allocations: 106.2 kB / 334.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005591/0.02102, allocations: 254.7 kB / 334.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02103, allocations: 0 / 334.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.02116, allocations: 46.83 kB / 334.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.02153, allocations: 26 kB / 334.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.0229, allocations: 438 kB / 335.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.02302, allocations: 107.9 kB / 335.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.13e-05/0.0231, allocations: 19.17 kB / 335.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.02316, allocations: 18.06 kB / 335.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.02316, allocations: 1.219 kB / 335.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of Templates: time 0.006123/0.02928, allocations: 1.739 MB / 337.2 MB, free: 7.867 MB / 302.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.610101409256458] Failed to read output from testmodel.py, exit status != 0: 0.038954850286245346 0.055135525000000005 0.045124498000000006 Calling exit ...