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.001316/0.001316, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001515/0.001515, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.403/1.403, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.001908/0.001908, allocations: 59.91 kB / 377.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2481, allocations: 53.4 MB / 431.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004279/0.2523, allocations: 2.628 MB / 433.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2536, allocations: 0.6622 MB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2538, allocations: 7.938 kB / 434.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.2539, allocations: 43.56 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.2541, allocations: 95.19 kB / 434.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.2544, allocations: 87.89 kB / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.2548, allocations: 354.5 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.255, allocations: 60.62 kB / 435.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.2551, allocations: 139.4 kB / 435.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.2553, allocations: 135.3 kB / 435.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.2554, allocations: 32 kB / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.269e-05/0.2554, allocations: 28 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.2555, allocations: 67.75 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.2556, allocations: 123.4 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.256, allocations: 336.5 kB / 435.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.256, allocations: 4 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.256, allocations: 0 / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.256, allocations: 3.938 kB / 435.9 MB, free: 1.66 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.00114/0.2572, allocations: 0.5585 MB / 436.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2572, allocations: 11.98 kB / 436.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.2573, allocations: 54.73 kB / 436.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.2573, allocations: 32.75 kB / 436.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.2577, allocations: 233.9 kB / 436.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.2578, allocations: 16.81 kB / 436.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.2578, allocations: 20.38 kB / 436.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.2584, allocations: 320.5 kB / 437.2 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2584, allocations: 3.938 kB / 437.2 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.2584, allocations: 15.98 kB / 437.2 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2584, allocations: 4 kB / 437.2 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.259, allocations: 217.6 kB / 437.4 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.2606, allocations: 0.815 MB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.2612, allocations: 198.6 kB / 438.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.2614, allocations: 88.73 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2615, allocations: 3.938 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004413/0.2619, allocations: 255.8 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.2619, allocations: 0 / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001529/0.2634, allocations: 422.2 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.2635, allocations: 140.5 kB / 439.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.2638, allocations: 277.7 kB / 439.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.2638, allocations: 29.7 kB / 439.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.264, allocations: 184.2 kB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.264, allocations: 47.64 kB / 439.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.2641, allocations: 53.88 kB / 439.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2643, allocations: 330.8 kB / 440.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.2645, allocations: 114.1 kB / 440.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.2649, allocations: 282.7 kB / 440.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.2655, allocations: 260 kB / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2655, allocations: 0 / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009254/0.2664, allocations: 413.5 kB / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.2665, allocations: 41.69 kB / 441.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2665, allocations: 0 / 441.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/0.2668, allocations: 80.83 kB / 441.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.267, allocations: 39.91 kB / 441.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.2691, allocations: 1.802 MB / 443.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.2694, allocations: 47.75 kB / 443.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.2694, allocations: 8 kB / 443.3 MB, free: 9.789 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.0001493/0.2696, allocations: 152.5 kB / 443.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.2696, allocations: 31.88 kB / 443.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.371e-05/0.2697, allocations: 26.12 kB / 443.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2697, allocations: 0 / 443.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.2697, allocations: 256 / 443.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2697, allocations: 7.922 kB / 443.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.27, allocations: 256.5 kB / 443.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.27, allocations: 0 / 443.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.2701, allocations: 19.92 kB / 443.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/0.2704, allocations: 76.78 kB / 443.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2704, allocations: 4 kB / 443.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.2724, allocations: 1.787 MB / 445.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2724, allocations: 4 kB / 445.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.2731, allocations: 308.4 kB / 445.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.2732, allocations: 31.78 kB / 446 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.2732, allocations: 0 / 446 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.2735, allocations: 35.91 kB / 446 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.2735, allocations: 31.83 kB / 446 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2735, allocations: 8 kB / 446 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.2737, allocations: 193.2 kB / 446.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2737, allocations: 0 / 446.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000382/0.2741, allocations: 75.95 kB / 446.3 MB, free: 6.57 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.0011/0.2752, allocations: 0.8428 MB / 447.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008647/0.2761, allocations: 415.9 kB / 447.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2761, allocations: 4 kB / 447.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.2765, allocations: 234.5 kB / 447.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.2768, allocations: 51.53 kB / 447.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.2823, allocations: 3.075 MB / 450.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.2825, allocations: 142.2 kB / 451 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.2826, allocations: 30.27 kB / 451.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.2827, allocations: 79.41 kB / 451.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2827, allocations: 4 kB / 451.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.32, allocations: 7.431 MB / 458.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.92, allocations: 19 kB / 458.6 MB, free: 10.17 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.32183607434854] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.03857540898025 13.067204122 12.806134694 Calling exit ...