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.001329/0.001329, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001423/0.001423, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.467/1.467, allocations: 230.4 MB / 254 MB, free: 15.01 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="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 0.001966/0.001966, allocations: 59.91 kB / 373 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1173, allocations: 53.38 MB / 426.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.004047/0.1213, allocations: 2.219 MB / 428.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000637/0.1219, allocations: 175.3 kB / 428.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.1222, allocations: 7.938 kB / 428.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1223, allocations: 23.78 kB / 428.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.1226, allocations: 59.56 kB / 428.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.1228, allocations: 39.94 kB / 428.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.1231, allocations: 167.2 kB / 429.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1232, allocations: 37.55 kB / 429.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1234, allocations: 75.64 kB / 429.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1235, allocations: 71.69 kB / 429.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.1236, allocations: 12 kB / 429.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.113e-05/0.1236, allocations: 16 kB / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.1237, allocations: 39.8 kB / 429.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.1238, allocations: 79.58 kB / 429.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.124, allocations: 159.3 kB / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.124, allocations: 0 / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.124, allocations: 0 / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.124, allocations: 0 / 429.6 MB, free: 1.387 MB / 350.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.0008013/0.1248, allocations: 461.2 kB / 430 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.1249, allocations: 16.03 kB / 430 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/0.125, allocations: 54.67 kB / 430.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.125, allocations: 16.84 kB / 430.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.1253, allocations: 224 kB / 430.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1254, allocations: 8.375 kB / 430.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.1254, allocations: 28.3 kB / 430.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.1257, allocations: 138 kB / 430.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1257, allocations: 3.938 kB / 430.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.1257, allocations: 4 kB / 430.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1257, allocations: 8 kB / 430.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.126, allocations: 107.8 kB / 430.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.127, allocations: 0.588 MB / 431.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1272, allocations: 90.66 kB / 431.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.1273, allocations: 44.84 kB / 431.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1273, allocations: 0 / 431.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.1275, allocations: 113 kB / 431.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.1275, allocations: 7.938 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003894/0.1279, allocations: 167.7 kB / 431.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.128, allocations: 81.11 kB / 431.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1282, allocations: 178.3 kB / 431.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1282, allocations: 29.7 kB / 431.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1283, allocations: 152.1 kB / 432 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.1284, allocations: 47.58 kB / 432.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.1285, allocations: 54.06 kB / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1286, allocations: 322.8 kB / 432.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1287, allocations: 48.2 kB / 432.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.1289, allocations: 149.2 kB / 432.6 MB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.1293, allocations: 216.8 kB / 432.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1293, allocations: 0 / 432.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008219/0.1301, allocations: 298 kB / 433.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.1301, allocations: 8 kB / 433.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1301, allocations: 4.375 kB / 433.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005284/0.1307, allocations: 100.7 kB / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1308, allocations: 43.92 kB / 433.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.1335, allocations: 1.697 MB / 435 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1337, allocations: 39.83 kB / 435 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1337, allocations: 8 kB / 435 MB, free: 11.39 MB / 366.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.0001547/0.1339, allocations: 133.8 kB / 435.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.1339, allocations: 19.84 kB / 435.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.1339, allocations: 21.52 kB / 435.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1339, allocations: 8 kB / 435.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1339, allocations: 128 / 435.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.134, allocations: 0 / 435.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.1347, allocations: 0.5508 MB / 435.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1347, allocations: 4 kB / 435.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.1348, allocations: 28.02 kB / 435.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1348, allocations: 0 / 435.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1348, allocations: 8 kB / 435.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1348, allocations: 3.984 kB / 435.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1348, allocations: 0 / 435.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.1352, allocations: 293.9 kB / 436.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.1353, allocations: 89.02 kB / 436.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1353, allocations: 3.984 kB / 436.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1354, allocations: 19.92 kB / 436.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.1355, allocations: 15.92 kB / 436.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1355, allocations: 8 kB / 436.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1356, allocations: 132.3 kB / 436.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1356, allocations: 0 / 436.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.1359, allocations: 47.89 kB / 436.4 MB, free: 9.895 MB / 366.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.0007364/0.1366, allocations: 0.8209 MB / 437.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004614/0.1371, allocations: 250.4 kB / 437.5 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1371, allocations: 0.875 kB / 437.5 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.1372, allocations: 55.92 kB / 437.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1375, allocations: 26.27 kB / 437.6 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.1413, allocations: 2.388 MB / 439.9 MB, free: 6.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1417, allocations: 0.7242 MB / 440.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.845e-05/0.1418, allocations: 17.55 kB / 440.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.1419, allocations: 51.42 kB / 440.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1419, allocations: 0 / 440.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.1758, allocations: 3.704 MB / 444.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/11.97, allocations: 0 / 444.4 MB, free: 1.746 MB / 366.1 MB " [Timeout remaining time 648] (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: 15.332573774037883] Failed to read output from testmodel.py, exit status != 0: 12.066706725978293 12.299237982 12.172748945 Calling exit ...