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.0008119/0.0008119, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.000849/0.000849, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.9241/0.9241, allocations: 177 MB / 204.1 MB, free: 5.742 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.904e-06/1.904e-06, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.612e-05, allocations: 2.844 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.002618/0.002644, allocations: 2.127 MB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000405/0.003049, allocations: 175.3 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.00315, allocations: 7.938 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.866e-05/0.003249, allocations: 19.78 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.003416, allocations: 63.5 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.657e-05/0.003512, allocations: 31.95 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.003669, allocations: 179.2 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.003791, allocations: 41.72 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.003901, allocations: 95.73 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.004035, allocations: 51.81 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.004062, allocations: 12 kB / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.561e-05/0.004077, allocations: 12 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.004108, allocations: 43.84 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.004156, allocations: 51.83 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.004316, allocations: 159.5 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004318, allocations: 0 / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.004319, allocations: 0 / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.004323, 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.0004607/0.004784, allocations: 385.5 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.004818, allocations: 19.92 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.004859, allocations: 50.73 kB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.004892, allocations: 24.78 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.005092, allocations: 165.5 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.005105, allocations: 12.38 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.005127, allocations: 16.38 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.005322, allocations: 160.5 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.00533, allocations: 192 / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.005345, allocations: 8.375 kB / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.00535, allocations: 4.125 kB / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.005488, allocations: 116.7 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.006194, allocations: 0.5174 MB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.006327, allocations: 94.59 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.006383, allocations: 44.83 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.006408, allocations: 7.938 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.006563, allocations: 141.8 kB / 329.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.006564, allocations: 0 / 329.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002403/0.006804, allocations: 165.5 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.00684, allocations: 81.11 kB / 329.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.006946, allocations: 182.3 kB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.006959, allocations: 33.7 kB / 329.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.00702, allocations: 144.2 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.007044, allocations: 43.67 kB / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.00709, allocations: 58.02 kB / 330 MB, free: 10.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.007164, allocations: 326.8 kB / 330.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.00722, allocations: 44.2 kB / 330.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.007314, allocations: 145.3 kB / 330.6 MB, free: 9.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.007533, allocations: 224.7 kB / 330.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007536, allocations: 0 / 330.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003947/0.00793, allocations: 306.1 kB / 331.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.007944, allocations: 15.11 kB / 331.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007949, allocations: 0 / 331.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.008195, allocations: 92.98 kB / 331.2 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.008287, allocations: 47.91 kB / 331.2 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.009827, allocations: 1.593 MB / 332.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.009904, allocations: 27.84 kB / 332.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.009916, allocations: 15.98 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 9.268e-05/0.01001, allocations: 145.9 kB / 333 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.01002, allocations: 15.91 kB / 333 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.01004, allocations: 29.33 kB / 333 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.01004, allocations: 0 / 333 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.01005, allocations: 7.938 kB / 333.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01005, allocations: 0 / 333.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.01041, allocations: 0.4954 MB / 333.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01042, allocations: 7.984 kB / 333.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.01048, allocations: 19.94 kB / 333.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01048, allocations: 0 / 333.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01049, allocations: 11.98 kB / 333.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01049, allocations: 0 / 333.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01049, allocations: 0 / 333.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.01069, allocations: 289.8 kB / 333.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.01071, allocations: 20.09 kB / 333.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.01072, allocations: 4 kB / 333.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.01078, allocations: 11.98 kB / 333.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.01082, allocations: 19.91 kB / 333.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.01083, allocations: 4 kB / 333.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.01089, allocations: 132.3 kB / 334.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01089, allocations: 0 / 334.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002/0.01109, allocations: 40 kB / 334.1 MB, free: 5.742 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.000386/0.01147, allocations: 0.8233 MB / 334.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.01176, allocations: 254.4 kB / 335.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01176, allocations: 0.875 kB / 335.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/0.01182, allocations: 52.55 kB / 335.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.01202, allocations: 24.2 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.002031/0.01405, allocations: 2.374 MB / 337.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.856e-05/0.01412, allocations: 107.6 kB / 337.7 MB, free: 1.852 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.799e-05/0.01417, allocations: 25.62 kB / 337.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.01423, allocations: 44.48 kB / 337.8 MB, free: 1.785 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01423, allocations: 0 / 337.8 MB, free: 1.785 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.03103, allocations: 4.315 MB / 342.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.576, allocations: 3.625 kB / 342.1 MB, free: 13.59 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime_res.csv --start-time 0 --stop-time 0.005 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-07 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.790985588915646] Failed to read output from testmodel.py, exit status != 0: 7.6652945736423135 7.675453215 7.669387813 Calling exit ...