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.001311/0.001311, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001462/0.001462, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.495/1.495, allocations: 230.5 MB / 258.2 MB, free: 8.016 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_MeasureRiseTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_MeasureRiseTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 55.91 kB / 378.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2957, allocations: 53.42 MB / 432 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.003814/0.2995, allocations: 2.227 MB / 434.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006348/0.3001, allocations: 183.3 kB / 434.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.3003, allocations: 4 kB / 434.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.3004, allocations: 23.72 kB / 434.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.3007, allocations: 59.56 kB / 434.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.3008, allocations: 39.95 kB / 434.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.3011, allocations: 171.3 kB / 434.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.3013, allocations: 33.73 kB / 434.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3015, allocations: 75.64 kB / 434.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.3016, allocations: 71.7 kB / 434.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.3017, allocations: 12 kB / 434.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.417e-05/0.3017, allocations: 16 kB / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.3017, allocations: 31.8 kB / 434.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3019, allocations: 79.59 kB / 435 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.3022, allocations: 172 kB / 435.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3022, allocations: 0 / 435.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3022, allocations: 0 / 435.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.3022, allocations: 3.938 kB / 435.2 MB, free: 3.461 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.0007904/0.303, allocations: 381.5 kB / 435.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.303, allocations: 12.03 kB / 435.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.782e-05/0.303, allocations: 8.188 kB / 435.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.3031, allocations: 46.73 kB / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.3032, allocations: 16.84 kB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.3035, allocations: 169 kB / 435.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3035, allocations: 8.375 kB / 435.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.3036, allocations: 20.38 kB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.3039, allocations: 145.7 kB / 436 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3039, allocations: 3.984 kB / 436 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.3039, allocations: 8 kB / 436 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3039, allocations: 4 kB / 436 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.3041, allocations: 104.8 kB / 436.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/0.3051, allocations: 0.5675 MB / 436.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3053, allocations: 86.67 kB / 436.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3054, allocations: 52.77 kB / 436.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3055, allocations: 0 / 436.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.3057, allocations: 117 kB / 436.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.3057, allocations: 0 / 436.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003943/0.3061, allocations: 165.3 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.3062, allocations: 85.05 kB / 437.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3063, allocations: 179.1 kB / 437.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.3063, allocations: 29.7 kB / 437.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3065, allocations: 148.1 kB / 437.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.3065, allocations: 51.72 kB / 437.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.3066, allocations: 45.94 kB / 437.6 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3068, allocations: 330.8 kB / 437.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3069, allocations: 44.22 kB / 438 MB, free: 476 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.307, allocations: 150 kB / 438.1 MB, free: 280 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.3075, allocations: 212.6 kB / 438.3 MB, free: 20 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3075, allocations: 0 / 438.3 MB, free: 20 kB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000815/0.3083, allocations: 294 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3083, allocations: 14.81 kB / 438.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.3083, allocations: 8 kB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.3088, allocations: 92.75 kB / 438.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.309, allocations: 43.92 kB / 438.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.3116, allocations: 1.605 MB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.3118, allocations: 35.84 kB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3118, allocations: 8 kB / 440.4 MB, free: 13.8 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.0001665/0.3119, allocations: 145.8 kB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.312, allocations: 15.91 kB / 440.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.312, allocations: 25.47 kB / 440.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.312, allocations: 4 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.312, allocations: 0 / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.312, allocations: 3.984 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.3127, allocations: 0.5109 MB / 441.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3127, allocations: 4.094 kB / 441.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3128, allocations: 23.98 kB / 441.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3128, allocations: 0 / 441.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3128, allocations: 7.938 kB / 441.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3128, allocations: 3.938 kB / 441.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3128, allocations: 0 / 441.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.3132, allocations: 290 kB / 441.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.3132, allocations: 19.89 kB / 441.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3133, allocations: 4 kB / 441.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3134, allocations: 11.98 kB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.3134, allocations: 23.86 kB / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3134, allocations: 4 kB / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.3135, allocations: 131.5 kB / 441.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3135, allocations: 0 / 441.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.3139, allocations: 47.89 kB / 441.7 MB, free: 12.43 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.0007107/0.3146, allocations: 0.8089 MB / 442.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004805/0.3151, allocations: 259.2 kB / 442.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3151, allocations: 0 / 442.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.3152, allocations: 59.91 kB / 442.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.3155, allocations: 23.5 kB / 442.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.3192, allocations: 2.392 MB / 445.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3195, allocations: 0.7164 MB / 445.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.974e-05/0.3196, allocations: 21.64 kB / 445.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.3197, allocations: 51.41 kB / 446 MB, free: 7.855 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3197, allocations: 0 / 446 MB, free: 7.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03804/0.3577, allocations: 3.887 MB / 449.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.78, allocations: 11.61 kB / 449.9 MB, free: 4.086 MB / 350.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_MeasureRiseTime_fmu --startTime=0 --stopTime=0.005 --stepSize=1e-07 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_MeasureRiseTime.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.708985329023562] Failed to read output from testmodel.py, exit status != 0: 12.950727367016952 12.967914322 12.662456106 Calling exit ...