Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001915/0.001915, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001541/0.001541, allocations: 209.2 kB / 24.53 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SchmittTrigger,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.91 kB / 378.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2955, allocations: 53.37 MB / 432 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004404/0.2999, allocations: 2.802 MB / 434.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3012, allocations: 0.7167 MB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.3013, allocations: 4 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.3015, allocations: 43.58 kB / 435.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.3017, allocations: 91.25 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.3019, allocations: 103.8 kB / 435.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.3024, allocations: 358.5 kB / 436.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.3026, allocations: 60.89 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.3027, allocations: 131.5 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.3029, allocations: 159.3 kB / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.705e-05/0.303, allocations: 28 kB / 436.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.646e-05/0.303, allocations: 28 kB / 436.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.3031, allocations: 67.75 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.3032, allocations: 139.3 kB / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.3036, allocations: 327.5 kB / 437 MB, free: 1.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3036, allocations: 4 kB / 437 MB, free: 1.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3036, allocations: 3.938 kB / 437 MB, free: 1.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.3037, allocations: 3.938 kB / 437 MB, free: 1.859 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00123/0.3049, allocations: 0.5702 MB / 437.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3049, allocations: 8.031 kB / 437.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.368e-05/0.305, allocations: 58.72 kB / 437.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.3051, allocations: 36.75 kB / 437.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.3055, allocations: 221.9 kB / 437.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3055, allocations: 20.8 kB / 437.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.3055, allocations: 20.38 kB / 437.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.3061, allocations: 281.8 kB / 438.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3062, allocations: 0 / 438.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.3062, allocations: 12 kB / 438.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3062, allocations: 4 kB / 438.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.3069, allocations: 245.6 kB / 438.4 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.3085, allocations: 0.9057 MB / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.3093, allocations: 238.5 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.3096, allocations: 101 kB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3096, allocations: 7.938 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.31, allocations: 180.4 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.31, allocations: 3.938 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002081/0.3121, allocations: 0.576 MB / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.3122, allocations: 110.8 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.3125, allocations: 261.8 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3125, allocations: 29.7 kB / 440.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3127, allocations: 180 kB / 441 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.3127, allocations: 39.69 kB / 441.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/0.3128, allocations: 49.66 kB / 441.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3129, allocations: 334.8 kB / 441.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.3133, allocations: 95.92 kB / 441.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.3136, allocations: 168.5 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.3142, allocations: 263 kB / 441.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.3142, allocations: 4 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001125/0.3154, allocations: 431.7 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/0.3154, allocations: 33.7 kB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3154, allocations: 7.984 kB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.3158, allocations: 72.81 kB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.316, allocations: 47.92 kB / 442.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.3186, allocations: 1.836 MB / 444.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.3189, allocations: 55.92 kB / 444.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.3189, allocations: 11.98 kB / 444.4 MB, free: 9.969 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.319, allocations: 141.8 kB / 444.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.3191, allocations: 31.73 kB / 444.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.3191, allocations: 21.78 kB / 444.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3191, allocations: 7.984 kB / 444.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.3191, allocations: 0 / 444.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3191, allocations: 0 / 444.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.3194, allocations: 268.5 kB / 444.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3194, allocations: 4 kB / 444.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3196, allocations: 19.97 kB / 444.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002466/0.3198, allocations: 80.73 kB / 445 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3198, allocations: 7.938 kB / 445 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.322, allocations: 1.647 MB / 446.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.322, allocations: 3.938 kB / 446.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.323, allocations: 361.6 kB / 447 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.323, allocations: 27.73 kB / 447 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.3231, allocations: 4 kB / 447 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.3233, allocations: 35.89 kB / 447.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.3234, allocations: 19.97 kB / 447.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3234, allocations: 4 kB / 447.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002016/0.3236, allocations: 197.2 kB / 447.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3236, allocations: 0 / 447.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.3239, allocations: 67.89 kB / 447.4 MB, free: 6.852 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/0.3253, allocations: 0.8934 MB / 448.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009416/0.3262, allocations: 405.9 kB / 448.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3262, allocations: 0 / 448.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.3266, allocations: 222.9 kB / 448.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.327, allocations: 52.39 kB / 448.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.3319, allocations: 2.934 MB / 451.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3322, allocations: 0.7557 MB / 452.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.3323, allocations: 22.28 kB / 452.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.3325, allocations: 75.41 kB / 452.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3325, allocations: 0 / 452.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04301/0.3755, allocations: 6.524 MB / 459.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.15, allocations: 11.17 kB / 459.2 MB, free: 10.91 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.669702128041536] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.25382660003379 12.281251062 11.971997167 Calling exit ...