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.001795/0.001795, allocations: 112.5 kB / 20.43 MB, free: 1.312 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.001427/0.001427, allocations: 209.8 kB / 23.74 MB, free: 4.543 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.42/1.42, allocations: 230.5 MB / 257.4 MB, free: 8.004 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 59.91 kB / 377.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2674, allocations: 53.41 MB / 431.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004237/0.2716, allocations: 2.819 MB / 434 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.273, allocations: 0.7089 MB / 434.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.2732, allocations: 7.938 kB / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.2734, allocations: 43.56 kB / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.2736, allocations: 95.19 kB / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2739, allocations: 83.84 kB / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.2743, allocations: 354.6 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.2745, allocations: 64.78 kB / 435.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.2747, allocations: 143.5 kB / 435.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.2749, allocations: 147.3 kB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.84e-05/0.275, allocations: 28 kB / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.047e-05/0.275, allocations: 32 kB / 435.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.2751, allocations: 63.7 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.2752, allocations: 151.2 kB / 435.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.2756, allocations: 342.9 kB / 436.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2757, allocations: 0 / 436.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2757, allocations: 0 / 436.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.2757, allocations: 0 / 436.3 MB, free: 1.582 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.001216/0.2769, allocations: 0.5585 MB / 436.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2769, allocations: 8.031 kB / 436.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.009e-05/0.277, allocations: 58.73 kB / 436.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.2771, allocations: 36.75 kB / 436.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.2775, allocations: 225.9 kB / 437.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2775, allocations: 20.75 kB / 437.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.2776, allocations: 24.31 kB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.2781, allocations: 239.3 kB / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2781, allocations: 0 / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.2781, allocations: 12 kB / 437.4 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2781, allocations: 8 kB / 437.4 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005722/0.2787, allocations: 221.6 kB / 437.7 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.2803, allocations: 0.8657 MB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.281, allocations: 198.6 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.2812, allocations: 92.78 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.2812, allocations: 0 / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.2817, allocations: 182.6 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.2817, allocations: 0 / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001517/0.2832, allocations: 425.2 kB / 439.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/0.2833, allocations: 140.4 kB / 439.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.2836, allocations: 273.8 kB / 439.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2836, allocations: 29.7 kB / 439.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2837, allocations: 188.2 kB / 440 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.2838, allocations: 51.53 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.2839, allocations: 49.94 kB / 440.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002604/0.2841, allocations: 334.8 kB / 440.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.2844, allocations: 84.41 kB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.2848, allocations: 171.9 kB / 440.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.2853, allocations: 263.9 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.2853, allocations: 8 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008982/0.2862, allocations: 379.8 kB / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.2863, allocations: 37.7 kB / 441.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.2864, allocations: 7.984 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/0.2867, allocations: 68.8 kB / 441.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.2869, allocations: 43.94 kB / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.2892, allocations: 1.814 MB / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.2896, allocations: 52.05 kB / 443.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.2896, allocations: 16 kB / 443.4 MB, free: 10.02 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.000176/0.2898, allocations: 140.5 kB / 443.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.2898, allocations: 27.8 kB / 443.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.2899, allocations: 34.17 kB / 443.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2899, allocations: 3.938 kB / 443.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.2899, allocations: 0 / 443.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2899, allocations: 3.938 kB / 443.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.2902, allocations: 280.4 kB / 443.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2902, allocations: 0 / 443.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.2903, allocations: 23.97 kB / 443.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002588/0.2906, allocations: 68.8 kB / 443.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.2906, allocations: 11.98 kB / 444 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.2927, allocations: 1.806 MB / 445.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2927, allocations: 0 / 445.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.2934, allocations: 301.6 kB / 446.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.2934, allocations: 23.84 kB / 446.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.2935, allocations: 8 kB / 446.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.2937, allocations: 31.95 kB / 446.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.2938, allocations: 27.89 kB / 446.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.2938, allocations: 11.94 kB / 446.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.294, allocations: 193.2 kB / 446.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.294, allocations: 0 / 446.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004142/0.2944, allocations: 79.89 kB / 446.4 MB, free: 6.766 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.001148/0.2956, allocations: 0.8503 MB / 447.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009656/0.2965, allocations: 385.8 kB / 447.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2965, allocations: 0 / 447.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.297, allocations: 234.5 kB / 447.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.2973, allocations: 47.25 kB / 447.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.3028, allocations: 2.956 MB / 450.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3032, allocations: 0.7558 MB / 451.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.3033, allocations: 26.23 kB / 451.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.3034, allocations: 79.41 kB / 451.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of SimCode: time 1.894e-06/0.3034, allocations: 0 / 451.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.3418, allocations: 6.882 MB / 458.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.54, allocations: 0 / 458.6 MB, free: 10.48 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_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_InvertingSchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.031945370999892] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.661146143000224 12.688961948 12.408196375 Calling exit ...