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.001927/0.001927, allocations: 114 kB / 20.43 MB, free: 1.457 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.002339/0.002339, allocations: 214.2 kB / 23.74 MB, free: 4.672 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.382/1.382, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.001878/0.001878, allocations: 59.91 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2352, allocations: 53.4 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.003433/0.2386, allocations: 2.235 MB / 433.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004189/0.239, allocations: 183.3 kB / 433.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.2391, allocations: 7.938 kB / 433.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.2392, allocations: 23.72 kB / 433.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.2394, allocations: 55.61 kB / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.2395, allocations: 35.91 kB / 433.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.2397, allocations: 171.3 kB / 433.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2399, allocations: 41.72 kB / 434 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.24, allocations: 71.72 kB / 434 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.2401, allocations: 75.62 kB / 434.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.2401, allocations: 12 kB / 434.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-05/0.2402, allocations: 16 kB / 434.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.2402, allocations: 35.84 kB / 434.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.2403, allocations: 75.55 kB / 434.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.2405, allocations: 167.6 kB / 434.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2405, allocations: 0 / 434.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2405, allocations: 4 kB / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2405, allocations: 0 / 434.4 MB, free: 3.484 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.0006053/0.2411, allocations: 385.5 kB / 434.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2411, allocations: 12.03 kB / 434.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.2412, allocations: 50.73 kB / 434.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.2412, allocations: 16.84 kB / 434.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.2415, allocations: 165 kB / 435 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2415, allocations: 12.38 kB / 435 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.2416, allocations: 16.38 kB / 435 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.2418, allocations: 142 kB / 435.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2418, allocations: 3.938 kB / 435.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.2419, allocations: 4 kB / 435.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.2419, allocations: 11.92 kB / 435.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.2421, allocations: 104.8 kB / 435.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008993/0.243, allocations: 0.556 MB / 435.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.2432, allocations: 90.61 kB / 436 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.2433, allocations: 48.83 kB / 436 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2433, allocations: 8 kB / 436 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.2435, allocations: 109.1 kB / 436.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.2435, allocations: 0 / 436.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003728/0.2439, allocations: 161.7 kB / 436.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.2439, allocations: 81.23 kB / 436.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.2441, allocations: 183.1 kB / 436.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.2441, allocations: 29.7 kB / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.2442, allocations: 144.1 kB / 436.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.2443, allocations: 55.56 kB / 436.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.2443, allocations: 49.88 kB / 436.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2445, allocations: 330.8 kB / 437.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.2446, allocations: 48.14 kB / 437.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2447, allocations: 146.1 kB / 437.3 MB, free: 316 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.2451, allocations: 204.7 kB / 437.5 MB, free: 64 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2451, allocations: 3.938 kB / 437.5 MB, free: 60 kB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007555/0.2458, allocations: 306 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2458, allocations: 15.92 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2458, allocations: 4 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.2463, allocations: 89.14 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.2465, allocations: 47.91 kB / 438 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.249, allocations: 1.601 MB / 439.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.2491, allocations: 31.78 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.2491, allocations: 12 kB / 439.6 MB, free: 13.83 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.0001446/0.2493, allocations: 145.5 kB / 439.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.2493, allocations: 19.84 kB / 439.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.2494, allocations: 21.45 kB / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.2494, allocations: 4 kB / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.2494, allocations: 0 / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2494, allocations: 0 / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.25, allocations: 0.5148 MB / 440.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.25, allocations: 4 kB / 440.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.2501, allocations: 19.98 kB / 440.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2501, allocations: 0 / 440.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2501, allocations: 12 kB / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2501, allocations: 0 / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.2501, allocations: 3.984 kB / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.2505, allocations: 296.7 kB / 440.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.2505, allocations: 15.91 kB / 440.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2506, allocations: 4 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2507, allocations: 16.05 kB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.2507, allocations: 19.92 kB / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.2508, allocations: 7.984 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.878e-05/0.2508, allocations: 123.5 kB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2508, allocations: 0 / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.2512, allocations: 47.89 kB / 440.9 MB, free: 12.47 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.0006875/0.2519, allocations: 0.8164 MB / 441.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004325/0.2523, allocations: 262.8 kB / 441.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2523, allocations: 0 / 441.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.2524, allocations: 47.86 kB / 442 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2527, allocations: 29.98 kB / 442 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.2563, allocations: 2.386 MB / 444.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.2566, allocations: 0.7241 MB / 445.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.59e-05/0.2567, allocations: 17.62 kB / 445.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.2568, allocations: 51.42 kB / 445.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2568, allocations: 0 / 445.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/0.3027, allocations: 3.863 MB / 449.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.52, allocations: 4 kB / 449.1 MB, free: 4.137 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.123496914980933] Failed to read output from testmodel.py, exit status != 0: 12.639657340943813 12.666742326 12.421009248 Calling exit ...