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.001596/0.001596, allocations: 124.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.002082/0.002082, allocations: 206.6 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.448/1.448, 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.002784/0.002784, allocations: 67.89 kB / 373 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1196, allocations: 53.37 MB / 426.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.003814/0.1234, allocations: 2.217 MB / 428.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005735/0.124, allocations: 179.3 kB / 428.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.1242, allocations: 3.938 kB / 428.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1243, allocations: 23.78 kB / 428.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.1246, allocations: 59.55 kB / 428.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.1247, allocations: 39.91 kB / 428.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.125, allocations: 179.2 kB / 429.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1251, allocations: 33.55 kB / 429.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1253, allocations: 71.66 kB / 429.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1254, allocations: 71.67 kB / 429.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.1254, allocations: 16 kB / 429.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.1254, allocations: 12 kB / 429.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.1255, allocations: 35.8 kB / 429.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.1256, allocations: 79.59 kB / 429.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1258, allocations: 163.3 kB / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1258, allocations: 0 / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1258, allocations: 0 / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1258, allocations: 0 / 429.6 MB, free: 1.367 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.0007466/0.1266, allocations: 462.7 kB / 430 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1266, allocations: 8.031 kB / 430 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.1267, allocations: 54.73 kB / 430.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.1267, allocations: 16.84 kB / 430.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.1271, allocations: 220.1 kB / 430.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.1271, allocations: 20.36 kB / 430.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.1272, allocations: 20.25 kB / 430.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.1275, allocations: 138 kB / 430.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1275, allocations: 7.938 kB / 430.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1275, allocations: 4 kB / 430.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.1275, allocations: 4 kB / 430.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.1277, allocations: 107.8 kB / 430.6 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1288, allocations: 0.5919 MB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.129, allocations: 94.66 kB / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1291, allocations: 44.83 kB / 431.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1291, allocations: 4 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.1294, allocations: 109 kB / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1294, allocations: 0 / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004095/0.1298, allocations: 176 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.1298, allocations: 77.11 kB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.13, allocations: 182.3 kB / 431.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.13, allocations: 29.7 kB / 431.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.1301, allocations: 144.1 kB / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.1302, allocations: 55.56 kB / 432.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.1303, allocations: 45.94 kB / 432.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1304, allocations: 330.9 kB / 432.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1305, allocations: 48.2 kB / 432.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.1307, allocations: 145.3 kB / 432.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.1311, allocations: 220.7 kB / 432.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1311, allocations: 7.938 kB / 432.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00082/0.1319, allocations: 294 kB / 433.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.132, allocations: 4 kB / 433.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.132, allocations: 4 kB / 433.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.1325, allocations: 97.12 kB / 433.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1327, allocations: 43.92 kB / 433.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.1354, allocations: 1.7 MB / 435 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.1356, allocations: 31.77 kB / 435 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1356, allocations: 16.06 kB / 435.1 MB, free: 11.36 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.0001759/0.1358, allocations: 138 kB / 435.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1358, allocations: 27.83 kB / 435.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.1359, allocations: 17.53 kB / 435.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1359, allocations: 0 / 435.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1359, allocations: 0 / 435.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1359, allocations: 8 kB / 435.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.1366, allocations: 0.5468 MB / 435.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1366, allocations: 0 / 435.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1367, allocations: 19.98 kB / 435.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1367, allocations: 4 kB / 435.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1367, allocations: 8.094 kB / 435.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.1367, allocations: 7.938 kB / 435.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1367, allocations: 0 / 435.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1371, allocations: 281.9 kB / 436.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.1372, allocations: 97.09 kB / 436.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1372, allocations: 4 kB / 436.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1374, allocations: 15.98 kB / 436.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.1374, allocations: 19.86 kB / 436.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1374, allocations: 4 kB / 436.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1376, allocations: 132.2 kB / 436.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1376, allocations: 0 / 436.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.1379, allocations: 47.89 kB / 436.4 MB, free: 9.879 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.0007849/0.1387, allocations: 0.8203 MB / 437.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005201/0.1392, allocations: 257.5 kB / 437.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1392, allocations: 0 / 437.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1393, allocations: 53.17 kB / 437.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1397, allocations: 31.08 kB / 437.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.1436, allocations: 2.38 MB / 439.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.144, allocations: 0.7281 MB / 440.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.746e-05/0.1441, allocations: 17.55 kB / 440.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.1442, allocations: 47.42 kB / 440.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1442, allocations: 4 kB / 440.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.1763, allocations: 3.713 MB / 444.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.47, allocations: 6.938 kB / 444.5 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.264405681984499] Failed to read output from testmodel.py, exit status != 0: 11.566235680133104 11.728926949 11.600390009 Calling exit ...