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.001144/0.001144, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0009958/0.0009958, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8676/0.8676, allocations: 177 MB / 204.1 MB, free: 5.734 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_MeasureRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_MeasureRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.362e-05, allocations: 2.281 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.002348/0.002372, allocations: 2.122 MB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003369/0.002709, allocations: 179.3 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.002806, allocations: 7.938 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.002906, allocations: 23.78 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.003071, allocations: 59.48 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.82e-05/0.003159, allocations: 35.95 kB / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.003332, allocations: 175.2 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.003464, allocations: 41.72 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.003592, allocations: 103.7 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.003671, allocations: 47.83 kB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.0037, allocations: 15.98 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.003718, allocations: 16 kB / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.003748, allocations: 35.84 kB / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.003799, allocations: 47.84 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.00397, allocations: 163.4 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.003973, allocations: 0 / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003974, allocations: 0 / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.003979, allocations: 0 / 327.6 MB, free: 12.77 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.0004804/0.004459, allocations: 389.5 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.004498, allocations: 11.98 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.004537, allocations: 46.73 kB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.004572, allocations: 24.78 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.004786, allocations: 161.5 kB / 328.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004798, allocations: 12.38 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.004823, allocations: 12.38 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.005031, allocations: 168.5 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.005039, allocations: 192 / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.005054, allocations: 8.375 kB / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.005061, allocations: 8.125 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.0052, allocations: 112.6 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.005802, allocations: 0.5252 MB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.005938, allocations: 94.59 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.816e-05/0.006006, allocations: 48.83 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.006035, allocations: 3.938 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.006203, allocations: 138.8 kB / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.006205, allocations: 0 / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.000261/0.006466, allocations: 165 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.006508, allocations: 89.09 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.006617, allocations: 178.3 kB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.006631, allocations: 29.7 kB / 329.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.006704, allocations: 152.1 kB / 330 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.006729, allocations: 43.69 kB / 330 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.006779, allocations: 49.89 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.006859, allocations: 322.8 kB / 330.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.006923, allocations: 48.2 kB / 330.4 MB, free: 9.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.00702, allocations: 141.3 kB / 330.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.00727, allocations: 236.7 kB / 330.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.007273, allocations: 0 / 330.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004282/0.007701, allocations: 301.9 kB / 331.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.007716, allocations: 8 kB / 331.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.007723, allocations: 4 kB / 331.1 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.007982, allocations: 93.12 kB / 331.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.008082, allocations: 39.92 kB / 331.2 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.009498, allocations: 1.597 MB / 332.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.009575, allocations: 31.83 kB / 332.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.009585, allocations: 8 kB / 332.9 MB, free: 7.074 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.0001008/0.009686, allocations: 141.8 kB / 333 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.009701, allocations: 15.91 kB / 333 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.009725, allocations: 33.39 kB / 333 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.009727, allocations: 7.938 kB / 333 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.009729, allocations: 3.938 kB / 333 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.009732, allocations: 0 / 333 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.01014, allocations: 0.4993 MB / 333.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01014, allocations: 3.938 kB / 333.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.01021, allocations: 23.92 kB / 333.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01021, allocations: 0 / 333.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01022, allocations: 8.094 kB / 333.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01023, allocations: 0 / 333.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01023, allocations: 4 kB / 333.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.01044, allocations: 292.8 kB / 333.9 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.01046, allocations: 15.91 kB / 333.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.01047, allocations: 3.984 kB / 333.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.154e-05/0.01053, allocations: 12 kB / 333.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.01057, allocations: 23.91 kB / 333.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.01058, allocations: 8.062 kB / 333.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.119e-05/0.01064, allocations: 128.3 kB / 334.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01064, allocations: 0 / 334.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000205/0.01085, allocations: 40 kB / 334.1 MB, free: 5.734 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.0004192/0.01127, allocations: 0.8202 MB / 334.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.01157, allocations: 254.8 kB / 335.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01157, allocations: 4 kB / 335.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.01164, allocations: 51.91 kB / 335.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.01186, allocations: 12.66 kB / 335.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.01402, allocations: 2.387 MB / 337.6 MB, free: 1.965 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.735e-05/0.01409, allocations: 107.6 kB / 337.7 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.99e-05/0.01414, allocations: 17.64 kB / 337.7 MB, free: 1.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.0142, allocations: 48.48 kB / 337.8 MB, free: 1.777 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0142, allocations: 0 / 337.8 MB, free: 1.777 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.0321, allocations: 4.327 MB / 342.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/7.529, allocations: 4.062 kB / 342.1 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 652] (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: 9.326707946136594] Failed to read output from testmodel.py, exit status != 0: 7.61568144056946 7.623860672 7.618201574 Calling exit ...