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.001218/0.001218, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001465/0.001465, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.441/1.441, allocations: 230.5 MB / 258.2 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="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.001931/0.001931, allocations: 60.12 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2938, allocations: 53.4 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.004543/0.2984, allocations: 2.12 MB / 434.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005917/0.299, allocations: 179.3 kB / 434.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.2991, allocations: 4 kB / 434.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2993, allocations: 23.72 kB / 434.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.2995, allocations: 51.62 kB / 434.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.2997, allocations: 43.88 kB / 434.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.3, allocations: 175.2 kB / 434.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.3001, allocations: 37.73 kB / 434.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.3003, allocations: 67.77 kB / 434.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.3004, allocations: 71.58 kB / 434.7 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.3005, allocations: 20 kB / 434.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.562e-05/0.3005, allocations: 12 kB / 434.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.3006, allocations: 27.92 kB / 434.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3007, allocations: 75.58 kB / 434.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.301, allocations: 163.3 kB / 435 MB, free: 3.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.301, allocations: 0 / 435 MB, free: 3.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.301, allocations: 0 / 435 MB, free: 3.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.301, allocations: 0 / 435 MB, free: 3.426 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.0008528/0.3018, allocations: 389.5 kB / 435.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3019, allocations: 8.031 kB / 435.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.332e-05/0.3019, allocations: 8.125 kB / 435.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/0.302, allocations: 46.73 kB / 435.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.302, allocations: 16.84 kB / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.3024, allocations: 170.2 kB / 435.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3024, allocations: 12.38 kB / 435.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.3025, allocations: 12.38 kB / 435.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.3029, allocations: 175.4 kB / 435.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3029, allocations: 4 kB / 435.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3029, allocations: 11.94 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3029, allocations: 4 kB / 435.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.3032, allocations: 104.8 kB / 435.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.3045, allocations: 0.5248 MB / 436.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.3047, allocations: 90.61 kB / 436.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.3049, allocations: 52.83 kB / 436.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3049, allocations: 0 / 436.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.3052, allocations: 134.8 kB / 436.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.3052, allocations: 0 / 436.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005073/0.3057, allocations: 168.9 kB / 436.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.3058, allocations: 81.11 kB / 437 MB, free: 1.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.306, allocations: 183.3 kB / 437.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3061, allocations: 29.7 kB / 437.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3062, allocations: 148.1 kB / 437.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.3062, allocations: 39.59 kB / 437.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.3064, allocations: 49.94 kB / 437.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3066, allocations: 334.8 kB / 437.7 MB, free: 456 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3067, allocations: 40.22 kB / 437.8 MB, free: 416 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.3069, allocations: 150.3 kB / 437.9 MB, free: 220 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.3074, allocations: 220.5 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.3074, allocations: 4 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009901/0.3084, allocations: 302 kB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3084, allocations: 10.34 kB / 438.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.3084, allocations: 4 kB / 438.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.3091, allocations: 93.12 kB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.3093, allocations: 39.92 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003155/0.3124, allocations: 1.593 MB / 440.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.3126, allocations: 35.84 kB / 440.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3127, allocations: 12.12 kB / 440.2 MB, free: 13.73 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.0001934/0.3129, allocations: 145.3 kB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.3129, allocations: 19.91 kB / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.3129, allocations: 21.41 kB / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3129, allocations: 0 / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3129, allocations: 11.98 kB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.313, allocations: 3.938 kB / 440.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/0.3138, allocations: 0.5031 MB / 440.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3138, allocations: 0 / 440.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.3139, allocations: 19.98 kB / 440.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3139, allocations: 3.984 kB / 440.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.3139, allocations: 8 kB / 441 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3139, allocations: 96 / 441 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3139, allocations: 8 kB / 441 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.3144, allocations: 289.8 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.487e-05/0.3144, allocations: 19.94 kB / 441.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3145, allocations: 3.938 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3146, allocations: 15.98 kB / 441.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.3147, allocations: 11.92 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.3147, allocations: 8 kB / 441.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.3148, allocations: 131.5 kB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3148, allocations: 4 kB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000439/0.3153, allocations: 43.89 kB / 441.5 MB, free: 12.38 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.0008754/0.3162, allocations: 0.8164 MB / 442.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005782/0.3167, allocations: 255.3 kB / 442.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3167, allocations: 0 / 442.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.3169, allocations: 56.3 kB / 442.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.3173, allocations: 30.83 kB / 442.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/0.3221, allocations: 2.392 MB / 445 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.3222, allocations: 107.3 kB / 445.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.3223, allocations: 25.62 kB / 445.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.3224, allocations: 47.42 kB / 445.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3224, allocations: 0 / 445.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.3557, allocations: 3.855 MB / 449.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.02, allocations: 4.062 kB / 449.1 MB, free: 4.695 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.927761972998269] Failed to read output from testmodel.py, exit status != 0: 13.197023272048682 13.211698827 12.907635186 Calling exit ...