Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001309/0.001309, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001437/0.001437, allocations: 207.5 kB / 23.72 MB, free: 4.391 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.86 kB / 377.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2602, allocations: 53.4 MB / 431.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004334/0.2646, allocations: 2.625 MB / 433.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.266, allocations: 0.6662 MB / 434.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.2662, allocations: 7.938 kB / 434.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.2664, allocations: 39.58 kB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.2667, allocations: 103.2 kB / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.267, allocations: 75.91 kB / 434.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.2675, allocations: 362.5 kB / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2676, allocations: 52.7 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.2679, allocations: 139.4 kB / 435.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.2681, allocations: 131.4 kB / 435.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.2682, allocations: 28 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.952e-05/0.2682, allocations: 35.94 kB / 435.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.2683, allocations: 59.77 kB / 435.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.2685, allocations: 135.4 kB / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.2689, allocations: 332.5 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2689, allocations: 0 / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2689, allocations: 0 / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.2689, allocations: 0 / 435.9 MB, free: 1.664 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.001281/0.2702, allocations: 0.5662 MB / 436.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.2703, allocations: 15.98 kB / 436.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.85e-05/0.2703, allocations: 50.73 kB / 436.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.2704, allocations: 36.75 kB / 436.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.2708, allocations: 229.9 kB / 436.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2709, allocations: 12.81 kB / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.2709, allocations: 28.31 kB / 436.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.2715, allocations: 320.5 kB / 437.2 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2715, allocations: 0 / 437.2 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.2716, allocations: 8 kB / 437.2 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.2716, allocations: 8 kB / 437.2 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.2722, allocations: 221.5 kB / 437.4 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.2739, allocations: 0.8073 MB / 438.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.2745, allocations: 206.5 kB / 438.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.2748, allocations: 88.8 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2748, allocations: 0 / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.2753, allocations: 263.3 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2753, allocations: 0 / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001652/0.2769, allocations: 434.2 kB / 439.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.277, allocations: 140.5 kB / 439.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.2774, allocations: 265.8 kB / 439.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.2774, allocations: 29.7 kB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.2775, allocations: 176.3 kB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.2776, allocations: 51.56 kB / 439.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.2777, allocations: 53.66 kB / 439.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2778, allocations: 334.8 kB / 440.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.2782, allocations: 121.6 kB / 440.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.2786, allocations: 268.1 kB / 440.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.2791, allocations: 242.2 kB / 440.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2791, allocations: 0 / 440.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009973/0.2801, allocations: 397.5 kB / 441.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.2802, allocations: 37.69 kB / 441.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2802, allocations: 0 / 441.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.2806, allocations: 76.83 kB / 441.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.2808, allocations: 39.95 kB / 441.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.2833, allocations: 1.633 MB / 443 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.2837, allocations: 47.8 kB / 443.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.2837, allocations: 8.188 kB / 443.1 MB, free: 10.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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.0002207/0.2839, allocations: 156.1 kB / 443.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.284, allocations: 23.86 kB / 443.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.284, allocations: 33.98 kB / 443.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.284, allocations: 4 kB / 443.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2841, allocations: 4 kB / 443.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2841, allocations: 0 / 443.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.2844, allocations: 240.6 kB / 443.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2844, allocations: 0 / 443.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.2845, allocations: 23.97 kB / 443.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003029/0.2848, allocations: 76.78 kB / 443.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.2849, allocations: 7.938 kB / 443.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.2869, allocations: 1.641 MB / 445.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2869, allocations: 0 / 445.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008502/0.2878, allocations: 305.8 kB / 445.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.2879, allocations: 23.8 kB / 445.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.2879, allocations: 15.92 kB / 445.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2881, allocations: 27.97 kB / 445.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.2882, allocations: 23.95 kB / 445.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.2882, allocations: 12 kB / 445.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002502/0.2885, allocations: 189.2 kB / 445.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2885, allocations: 0 / 445.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.2889, allocations: 75.89 kB / 445.9 MB, free: 6.953 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.00125/0.2901, allocations: 0.8424 MB / 446.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009542/0.2911, allocations: 411.5 kB / 447.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2911, allocations: 384 / 447.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.2915, allocations: 230.5 kB / 447.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.2919, allocations: 52.34 kB / 447.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005871/0.2977, allocations: 3.038 MB / 450.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.2979, allocations: 138.2 kB / 450.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.298, allocations: 30.2 kB / 450.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.2981, allocations: 75.42 kB / 450.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.2982, allocations: 0 / 450.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03957/0.3377, allocations: 7.407 MB / 458.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.83, allocations: 0 / 458.1 MB, free: 10.66 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.277058855164796] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.956045465078205 12.986073583 12.71106175 Calling exit ...