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.001638/0.001638, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.002016/0.002016, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.481/1.481, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.001802/0.001802, allocations: 63.91 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.1009, allocations: 53.38 MB / 427.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.003391/0.1043, allocations: 2.216 MB / 429.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004843/0.1048, allocations: 179.3 kB / 429.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1049, allocations: 4 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.105, allocations: 27.72 kB / 429.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1053, allocations: 59.56 kB / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.1054, allocations: 35.95 kB / 429.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.1056, allocations: 167.2 kB / 429.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.1058, allocations: 41.52 kB / 429.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.1059, allocations: 67.72 kB / 429.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.106, allocations: 75.62 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.106, allocations: 12 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.155e-05/0.1061, allocations: 16 kB / 430 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.1061, allocations: 39.78 kB / 430 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.154e-05/0.1062, allocations: 79.61 kB / 430.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.1064, allocations: 159.3 kB / 430.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1064, allocations: 0 / 430.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1064, allocations: 0 / 430.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1064, allocations: 0 / 430.3 MB, free: 1.398 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.0007391/0.1072, allocations: 466.6 kB / 430.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1072, allocations: 8.031 kB / 430.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.119e-05/0.1073, allocations: 8.188 kB / 430.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.1073, allocations: 54.72 kB / 430.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.1074, allocations: 16.84 kB / 430.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.1077, allocations: 220.1 kB / 431 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1077, allocations: 8.375 kB / 431 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.1077, allocations: 24.31 kB / 431.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.108, allocations: 149.7 kB / 431.2 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.108, allocations: 4 kB / 431.2 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.108, allocations: 7.984 kB / 431.2 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.108, allocations: 4 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.1083, allocations: 107.8 kB / 431.3 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/0.1093, allocations: 0.5958 MB / 431.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1094, allocations: 82.67 kB / 432 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1096, allocations: 48.83 kB / 432 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1096, allocations: 0 / 432 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.1098, allocations: 117 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/0.1098, allocations: 0 / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004005/0.1102, allocations: 165.5 kB / 432.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.1103, allocations: 81.11 kB / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1105, allocations: 178.3 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1105, allocations: 29.7 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1106, allocations: 148.2 kB / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.1106, allocations: 55.56 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.1107, allocations: 49.94 kB / 432.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1109, allocations: 322.8 kB / 433.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.111, allocations: 52.2 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.1111, allocations: 141.3 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.1115, allocations: 212.8 kB / 433.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1115, allocations: 0 / 433.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007733/0.1123, allocations: 294 kB / 433.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1123, allocations: 8.375 kB / 433.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.1123, allocations: 8 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.1128, allocations: 92.75 kB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.113, allocations: 47.91 kB / 434 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.1156, allocations: 1.705 MB / 435.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.1157, allocations: 35.84 kB / 435.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1157, allocations: 8 kB / 435.8 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.0001414/0.1159, allocations: 145.6 kB / 435.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.1159, allocations: 15.91 kB / 435.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.1159, allocations: 25.52 kB / 435.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1159, allocations: 7.938 kB / 435.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1159, allocations: 0 / 435.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1159, allocations: 0 / 435.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.1166, allocations: 0.543 MB / 436.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1166, allocations: 8.094 kB / 436.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1167, allocations: 19.98 kB / 436.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1167, allocations: 0 / 436.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.1167, allocations: 8 kB / 436.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/0.1167, allocations: 7.922 kB / 436.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1167, allocations: 0 / 436.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.1171, allocations: 296.3 kB / 436.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.1172, allocations: 93.02 kB / 436.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1172, allocations: 0 / 436.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.1173, allocations: 15.98 kB / 436.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.1174, allocations: 19.86 kB / 436.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1174, allocations: 8 kB / 437 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.7e-05/0.1175, allocations: 132.3 kB / 437.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1175, allocations: 0 / 437.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.1178, allocations: 47.89 kB / 437.1 MB, free: 9.898 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.0007338/0.1185, allocations: 0.8125 MB / 437.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004906/0.119, allocations: 251.2 kB / 438.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.119, allocations: 4.062 kB / 438.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1191, allocations: 55.91 kB / 438.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.1194, allocations: 21.62 kB / 438.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.1231, allocations: 2.384 MB / 440.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1234, allocations: 0.7202 MB / 441.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.893e-05/0.1235, allocations: 25.53 kB / 441.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.1235, allocations: 47.42 kB / 441.4 MB, free: 5.324 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1235, allocations: 0 / 441.4 MB, free: 5.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.1481, allocations: 3.753 MB / 445.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.87, allocations: 15.16 kB / 445.2 MB, free: 1.715 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 & /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: 14.957112882984802] Failed to read output from testmodel.py, exit status != 0: 12.016689763986506 12.186884693 12.078448611 Calling exit ...