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.001298/0.001298, allocations: 115.9 kB / 20.48 MB, free: 1.281 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.001486/0.001486, allocations: 209.5 kB / 23.77 MB, free: 4.449 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.44/1.44, allocations: 230.5 MB / 257.4 MB, free: 7.711 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.00188/0.00188, allocations: 63.89 kB / 377.8 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2687, allocations: 53.4 MB / 431.2 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.004775/0.2735, allocations: 2.119 MB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006316/0.2742, allocations: 175.3 kB / 433.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.2743, allocations: 7.938 kB / 433.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.2745, allocations: 23.78 kB / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.2747, allocations: 51.56 kB / 433.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.2749, allocations: 43.94 kB / 433.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.2753, allocations: 171.2 kB / 433.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.2754, allocations: 35.42 kB / 433.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.2756, allocations: 75.64 kB / 433.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.2758, allocations: 67.62 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.2758, allocations: 16 kB / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.948e-05/0.2759, allocations: 12 kB / 434 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.2759, allocations: 35.8 kB / 434 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.2761, allocations: 59.73 kB / 434.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.2764, allocations: 167.2 kB / 434.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2764, allocations: 0 / 434.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.618e-06/0.2764, allocations: 0 / 434.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2764, allocations: 4 kB / 434.3 MB, free: 3.359 MB / 334.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.0009031/0.2773, allocations: 389.5 kB / 434.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.2774, allocations: 12.03 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.697e-05/0.2774, allocations: 50.73 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.2775, allocations: 16.84 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.2779, allocations: 169 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.2779, allocations: 12.38 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.278, allocations: 20.38 kB / 434.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.2785, allocations: 163.8 kB / 435.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.2785, allocations: 3.938 kB / 435.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.2785, allocations: 7.984 kB / 435.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.2785, allocations: 4 kB / 435.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.2789, allocations: 108.8 kB / 435.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.2804, allocations: 0.5247 MB / 435.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.2807, allocations: 90.59 kB / 435.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.2809, allocations: 44.84 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.2809, allocations: 7.938 kB / 435.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000338/0.2812, allocations: 139 kB / 436 MB, free: 1.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/0.2812, allocations: 3.938 kB / 436 MB, free: 1.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006084/0.2818, allocations: 172.7 kB / 436.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.2819, allocations: 81.11 kB / 436.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.2822, allocations: 182.3 kB / 436.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2822, allocations: 29.7 kB / 436.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.2824, allocations: 148.1 kB / 436.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.2824, allocations: 39.69 kB / 436.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.2825, allocations: 49.89 kB / 436.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.2828, allocations: 330.8 kB / 437 MB, free: 388 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.2829, allocations: 48.2 kB / 437.1 MB, free: 340 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.2832, allocations: 150 kB / 437.2 MB, free: 144 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.2838, allocations: 212.7 kB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2838, allocations: 0 / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001321/0.2851, allocations: 298 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.2851, allocations: 4 kB / 437.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2851, allocations: 12.25 kB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008468/0.286, allocations: 96.75 kB / 437.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.2863, allocations: 47.92 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/0.2905, allocations: 1.593 MB / 439.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.2907, allocations: 31.83 kB / 439.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.2908, allocations: 12 kB / 439.5 MB, free: 13.67 MB / 350.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.0002301/0.291, allocations: 138.7 kB / 439.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.2911, allocations: 27.89 kB / 439.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.266e-05/0.2911, allocations: 21.47 kB / 439.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2911, allocations: 0 / 439.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2911, allocations: 3.938 kB / 439.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.2911, allocations: 4 kB / 439.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2922, allocations: 0.4993 MB / 440.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.2922, allocations: 7.938 kB / 440.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.2924, allocations: 23.92 kB / 440.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2924, allocations: 4.094 kB / 440.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.2924, allocations: 4 kB / 440.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2924, allocations: 0 / 440.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2924, allocations: 0 / 440.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.293, allocations: 290.1 kB / 440.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.293, allocations: 19.88 kB / 440.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.2931, allocations: 11.98 kB / 440.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.2933, allocations: 8 kB / 440.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.2934, allocations: 23.97 kB / 440.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2934, allocations: 4 kB / 440.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.2936, allocations: 132.3 kB / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2936, allocations: 0 / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005781/0.2941, allocations: 36 kB / 440.7 MB, free: 12.32 MB / 350.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.001061/0.2952, allocations: 0.8203 MB / 441.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007037/0.2959, allocations: 266.4 kB / 441.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2959, allocations: 0 / 441.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.2961, allocations: 51.91 kB / 441.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.2966, allocations: 26.88 kB / 441.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006107/0.3027, allocations: 2.389 MB / 444.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.3029, allocations: 107.4 kB / 444.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.303, allocations: 21.64 kB / 444.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.3031, allocations: 43.42 kB / 444.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3031, allocations: 0 / 444.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/0.3478, allocations: 4.236 MB / 448.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.59, allocations: 6.812 kB / 448.7 MB, free: 4.242 MB / 350.1 MB " [Timeout remaining time 647] (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: 15.286179869086482] Failed to read output from testmodel.py, exit status != 0: 12.706096493988298 12.731718567 12.450491138 Calling exit ...