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.001527/0.001527, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001694/0.001694, allocations: 205.4 kB / 23.72 MB, free: 4.391 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.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.002013/0.002013, allocations: 71.83 kB / 378.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2868, allocations: 53.41 MB / 431.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.003722/0.2905, allocations: 2.105 MB / 433.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.291, allocations: 183.3 kB / 434 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.2911, allocations: 4 kB / 434 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.2912, allocations: 27.73 kB / 434 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.2914, allocations: 51.61 kB / 434 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.2915, allocations: 47.88 kB / 434.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.2918, allocations: 175.2 kB / 434.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2919, allocations: 29.73 kB / 434.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.292, allocations: 71.77 kB / 434.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.2921, allocations: 63.58 kB / 434.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.2922, allocations: 16 kB / 434.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-05/0.2922, allocations: 12 kB / 434.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.2923, allocations: 31.91 kB / 434.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.2923, allocations: 71.59 kB / 434.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.2926, allocations: 168.5 kB / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2926, allocations: 0 / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2926, allocations: 0 / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.2926, allocations: 4 kB / 434.7 MB, free: 3.473 MB / 334.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.0006735/0.2933, allocations: 385.5 kB / 435.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2933, allocations: 15.98 kB / 435.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.2933, allocations: 16.84 kB / 435.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.2936, allocations: 169 kB / 435.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2936, allocations: 8.375 kB / 435.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.2937, allocations: 12.38 kB / 435.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.294, allocations: 171.8 kB / 435.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.294, allocations: 4.172 kB / 435.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.294, allocations: 11.94 kB / 435.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.294, allocations: 4 kB / 435.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.2943, allocations: 108.8 kB / 435.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009151/0.2952, allocations: 0.4941 MB / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.2954, allocations: 90.61 kB / 436.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.2955, allocations: 52.78 kB / 436.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2955, allocations: 3.984 kB / 436.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.2958, allocations: 137.8 kB / 436.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.2958, allocations: 0 / 436.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003863/0.2961, allocations: 165.5 kB / 436.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.2962, allocations: 85.23 kB / 436.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.2964, allocations: 182.3 kB / 436.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.2964, allocations: 25.92 kB / 436.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2965, allocations: 148.1 kB / 437 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.2966, allocations: 47.62 kB / 437 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/0.2967, allocations: 49.89 kB / 437.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2968, allocations: 330.8 kB / 437.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.51e-05/0.2969, allocations: 40.22 kB / 437.4 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.2971, allocations: 149.2 kB / 437.6 MB, free: 376 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.2975, allocations: 216.6 kB / 437.8 MB, free: 112 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2975, allocations: 4 kB / 437.8 MB, free: 108 kB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007829/0.2983, allocations: 301.9 kB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2983, allocations: 7.938 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2983, allocations: 4 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004987/0.2988, allocations: 97.12 kB / 438.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.299, allocations: 39.86 kB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/0.3018, allocations: 1.578 MB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.302, allocations: 39.83 kB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.302, allocations: 12.12 kB / 439.9 MB, free: 13.91 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.0001571/0.3022, allocations: 139.1 kB / 440 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.3022, allocations: 23.84 kB / 440 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.3022, allocations: 17.47 kB / 440 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3022, allocations: 8 kB / 440 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3022, allocations: 0 / 440 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3022, allocations: 3.984 kB / 440 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.3029, allocations: 483.7 kB / 440.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3029, allocations: 0 / 440.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.303, allocations: 19.98 kB / 440.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.303, allocations: 0 / 440.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.303, allocations: 8.094 kB / 440.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3031, allocations: 4 kB / 440.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3031, allocations: 7.984 kB / 440.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.3035, allocations: 289.8 kB / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.3035, allocations: 19.94 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3035, allocations: 0 / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3037, allocations: 15.98 kB / 440.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.3037, allocations: 11.98 kB / 440.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.3037, allocations: 12.05 kB / 440.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3038, allocations: 127.2 kB / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3038, allocations: 0 / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.3042, allocations: 39.94 kB / 441.1 MB, free: 12.62 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.0001511/0.3043, allocations: 103.2 kB / 441.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.3048, allocations: 263 kB / 441.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3048, allocations: 0 / 441.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3049, allocations: 55.91 kB / 441.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.3052, allocations: 23.53 kB / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3065, allocations: 473.3 kB / 442 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.3066, allocations: 107.5 kB / 442.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.3067, allocations: 21.64 kB / 442.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.3067, allocations: 23.42 kB / 442.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3067, allocations: 0 / 442.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Templates: time 0.005454/0.3122, allocations: 1.854 MB / 444 MB, free: 9.672 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: 4.588258406147361] Failed to read output from testmodel.py, exit status != 0: 0.3214447367936373 0.33711519700000003 0.041287521 Calling exit ...