Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001722/0.001722, 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.001764/0.001764, allocations: 212.7 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.445/1.445, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 59.91 kB / 378.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3064, allocations: 53.41 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004673/0.3111, allocations: 2.624 MB / 434.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3131, allocations: 0.6622 MB / 435.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.3133, allocations: 11.94 kB / 435.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.3135, allocations: 39.58 kB / 435.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.3137, allocations: 99.19 kB / 435.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.314, allocations: 83.83 kB / 435.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.3144, allocations: 358.5 kB / 435.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.3146, allocations: 60.91 kB / 435.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.3148, allocations: 139.4 kB / 436 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.3151, allocations: 159.3 kB / 436.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.3151, allocations: 32 kB / 436.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.822e-05/0.3152, allocations: 28 kB / 436.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.3153, allocations: 67.7 kB / 436.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.3154, allocations: 119.5 kB / 436.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.3159, allocations: 336.9 kB / 436.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3159, allocations: 3.938 kB / 436.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3159, allocations: 0 / 436.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3159, allocations: 0 / 436.7 MB, free: 1.641 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001183/0.3171, allocations: 0.5585 MB / 437.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3171, allocations: 8.031 kB / 437.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.741e-05/0.3171, allocations: 12.56 kB / 437.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.479e-05/0.3172, allocations: 62.72 kB / 437.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.3173, allocations: 32.75 kB / 437.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.3177, allocations: 225.9 kB / 437.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3177, allocations: 16.81 kB / 437.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.3178, allocations: 24.36 kB / 437.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/0.3186, allocations: 320.2 kB / 438 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3186, allocations: 0 / 438 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.3186, allocations: 8 kB / 438 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.3186, allocations: 8 kB / 438 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.3193, allocations: 221.6 kB / 438.2 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.3209, allocations: 0.8073 MB / 439 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.3216, allocations: 194.6 kB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.3218, allocations: 92.78 kB / 439.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3219, allocations: 3.938 kB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000473/0.3223, allocations: 251.1 kB / 439.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.3223, allocations: 0 / 439.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001574/0.3239, allocations: 426.2 kB / 440 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.324, allocations: 144.4 kB / 440.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.3243, allocations: 273.8 kB / 440.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.3243, allocations: 29.7 kB / 440.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.3245, allocations: 180.3 kB / 440.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.3245, allocations: 55.52 kB / 440.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/0.3246, allocations: 49.94 kB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3248, allocations: 338.8 kB / 441 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.3251, allocations: 114 kB / 441.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.3255, allocations: 278.7 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.326, allocations: 259.9 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.326, allocations: 0 / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009628/0.327, allocations: 429.4 kB / 442.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.327, allocations: 33.7 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3271, allocations: 0 / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.3274, allocations: 80.78 kB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.3276, allocations: 39.91 kB / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.3301, allocations: 1.798 MB / 444 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.3304, allocations: 47.81 kB / 444.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3305, allocations: 15.92 kB / 444.1 MB, free: 9.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.3306, allocations: 148.5 kB / 444.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.3307, allocations: 23.86 kB / 444.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.3307, allocations: 26.36 kB / 444.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3307, allocations: 4 kB / 444.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3307, allocations: 8 kB / 444.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3307, allocations: 0 / 444.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.331, allocations: 244.5 kB / 444.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.331, allocations: 0 / 444.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.3312, allocations: 27.91 kB / 444.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.3315, allocations: 68.8 kB / 444.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.3315, allocations: 11.98 kB / 444.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.3336, allocations: 1.791 MB / 446.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3336, allocations: 0 / 446.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.3344, allocations: 305.5 kB / 446.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.3345, allocations: 27.91 kB / 446.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.3345, allocations: 8 kB / 446.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.3347, allocations: 27.95 kB / 446.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.3348, allocations: 27.91 kB / 446.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3348, allocations: 7.984 kB / 446.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.335, allocations: 189.2 kB / 447 MB, free: 6.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.335, allocations: 0 / 447 MB, free: 6.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.3355, allocations: 79.89 kB / 447.1 MB, free: 6.559 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.3366, allocations: 0.8459 MB / 447.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009014/0.3375, allocations: 419.5 kB / 448.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3375, allocations: 0 / 448.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.3379, allocations: 235 kB / 448.6 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3382, allocations: 48.34 kB / 448.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.3437, allocations: 3.08 MB / 451.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.3439, allocations: 142.2 kB / 451.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.344, allocations: 22.3 kB / 451.9 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.3441, allocations: 83.41 kB / 451.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3441, allocations: 0 / 451.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04556/0.3897, allocations: 7.075 MB / 459 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.22, allocations: 6.484 kB / 459 MB, free: 10.55 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.675095162936486] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.394662910024635 13.410076643 13.090967231 Calling exit ...