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.001402/0.001402, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001565/0.001565, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.413/1.413, allocations: 230.4 MB / 254.7 MB, free: 15.15 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.001864/0.001864, allocations: 71.83 kB / 373.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09849, allocations: 53.31 MB / 426.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004441/0.1029, allocations: 2.787 MB / 429.7 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1043, allocations: 0.7089 MB / 430.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1044, allocations: 4 kB / 430.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.1045, allocations: 39.58 kB / 430.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1047, allocations: 99.19 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.105, allocations: 95.81 kB / 430.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.1053, allocations: 358.5 kB / 431 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1055, allocations: 56.72 kB / 431.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1057, allocations: 139.5 kB / 431.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1059, allocations: 143.4 kB / 431.3 MB, free: 368 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.1059, allocations: 35.94 kB / 431.4 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.594e-05/0.1059, allocations: 28 kB / 431.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.106, allocations: 59.77 kB / 431.5 MB, free: 244 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1062, allocations: 151.2 kB / 431.6 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.211/0.3171, allocations: 323.4 kB / 431.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3171, allocations: 0 / 431.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3171, allocations: 0 / 431.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.3171, allocations: 0.625 kB / 431.9 MB, free: 8.387 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001251/0.3184, allocations: 0.6482 MB / 432.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3184, allocations: 11.59 kB / 432.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.3185, allocations: 53.78 kB / 432.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.3185, allocations: 35.41 kB / 432.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.3189, allocations: 280 kB / 432.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.3189, allocations: 17.19 kB / 433 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.319, allocations: 17.22 kB / 433 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.3196, allocations: 285.9 kB / 433.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3196, allocations: 1.156 kB / 433.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.3196, allocations: 6.875 kB / 433.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3196, allocations: 4.625 kB / 433.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.3203, allocations: 243.5 kB / 433.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.3216, allocations: 0.9486 MB / 434.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/0.3223, allocations: 233.6 kB / 434.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.3226, allocations: 96.22 kB / 434.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.3226, allocations: 3.188 kB / 434.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/0.323, allocations: 182.2 kB / 435 MB, free: 6.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.323, allocations: 1.406 kB / 435 MB, free: 6.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002263/0.3253, allocations: 0.6518 MB / 435.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.3253, allocations: 107.6 kB / 435.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.3256, allocations: 264 kB / 436 MB, free: 6.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3256, allocations: 32.17 kB / 436 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.3257, allocations: 189.7 kB / 436.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.3257, allocations: 37.05 kB / 436.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.3258, allocations: 50.28 kB / 436.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.3258, allocations: 333.4 kB / 436.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.3262, allocations: 100.6 kB / 436.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.3265, allocations: 163.2 kB / 436.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.3271, allocations: 268.1 kB / 437.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3271, allocations: 1.062 kB / 437.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001155/0.3283, allocations: 436.4 kB / 437.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.3283, allocations: 38.92 kB / 437.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3283, allocations: 2.438 kB / 437.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/0.3287, allocations: 79.09 kB / 437.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3289, allocations: 38.34 kB / 437.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.3311, allocations: 1.951 MB / 439.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.3315, allocations: 52.59 kB / 439.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.3315, allocations: 8.328 kB / 439.7 MB, free: 4.207 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.0001179/0.3316, allocations: 138 kB / 439.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.3317, allocations: 26.39 kB / 439.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.3317, allocations: 33.16 kB / 439.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3317, allocations: 3.75 kB / 439.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3317, allocations: 3.406 kB / 439.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3317, allocations: 1.078 kB / 439.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.332, allocations: 291.9 kB / 440.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.332, allocations: 0 / 440.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.3321, allocations: 27.09 kB / 440.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.3324, allocations: 76.56 kB / 440.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.3324, allocations: 11.89 kB / 440.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.3342, allocations: 1.753 MB / 442.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3342, allocations: 1.031 kB / 442.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009912/0.3352, allocations: 357.8 kB / 442.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.3353, allocations: 100.8 kB / 442.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.3353, allocations: 8.266 kB / 442.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.3356, allocations: 38.2 kB / 442.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.3356, allocations: 17.77 kB / 442.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3356, allocations: 7.016 kB / 442.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.3358, allocations: 190.9 kB / 442.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3358, allocations: 0 / 442.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.3362, allocations: 69.89 kB / 442.8 MB, free: 2.203 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.001222/0.3374, allocations: 0.8927 MB / 443.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008958/0.3383, allocations: 407.8 kB / 444.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3383, allocations: 1.719 kB / 444.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.3388, allocations: 228.7 kB / 444.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.3391, allocations: 52.11 kB / 444.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/0.3442, allocations: 2.94 MB / 447.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.3446, allocations: 0.75 MB / 448.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.3447, allocations: 25.11 kB / 448.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3448, allocations: 78.52 kB / 448.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3448, allocations: 0 / 448.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.382, allocations: 6.417 MB / 454.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.89, allocations: 12.92 kB / 454.6 MB, free: 13.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.210254471749067] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 11.980652621015906 11.997207511 11.67698979 Calling exit ...