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.0007921/0.0007921, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007947/0.0007947, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8513/0.8513, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.462e-06/1.462e-06, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.188e-05, allocations: 2.844 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002759/0.002781, allocations: 2.631 MB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.003739, allocations: 0.666 MB / 327.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.003858, allocations: 4 kB / 327.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.003974, allocations: 43.58 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.004117, allocations: 103.1 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.004327, allocations: 79.81 kB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.004728, allocations: 378.1 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.004875, allocations: 60.84 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.005047, allocations: 195.5 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.005167, allocations: 119.6 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.005203, allocations: 32 kB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.727e-05/0.005231, allocations: 28 kB / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.005274, allocations: 63.75 kB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.005356, allocations: 107.7 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.005611, allocations: 338.9 kB / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.005613, allocations: 0 / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.005614, allocations: 0 / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.005619, allocations: 4 kB / 329.4 MB, free: 10.98 MB / 298.7 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.0007478/0.006366, allocations: 0.5585 MB / 329.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.006402, allocations: 15.98 kB / 330 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.006443, allocations: 50.73 kB / 330 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.006491, allocations: 40.75 kB / 330 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.006771, allocations: 225.2 kB / 330.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.006785, allocations: 16.81 kB / 330.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.00681, allocations: 24.38 kB / 330.3 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.007161, allocations: 313.7 kB / 330.6 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.00717, allocations: 192 / 330.6 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.007188, allocations: 8.125 kB / 330.6 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.007195, allocations: 12 kB / 330.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.007526, allocations: 221.8 kB / 330.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/0.008457, allocations: 0.8044 MB / 331.7 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.008882, allocations: 209.6 kB / 331.9 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.009019, allocations: 80.8 kB / 331.9 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.009038, allocations: 8 kB / 331.9 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.009313, allocations: 256 kB / 332.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.009314, allocations: 0 / 332.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008778/0.01019, allocations: 426 kB / 332.6 MB, free: 7.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.01025, allocations: 132.5 kB / 332.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.01044, allocations: 277.7 kB / 333 MB, free: 7.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.01046, allocations: 37.7 kB / 333.1 MB, free: 7.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.01055, allocations: 184.2 kB / 333.2 MB, free: 6.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.01057, allocations: 43.64 kB / 333.3 MB, free: 6.812 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.0107, allocations: 53.89 kB / 333.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.01079, allocations: 338.8 kB / 333.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.01098, allocations: 118.1 kB / 333.8 MB, free: 6.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.01119, allocations: 278 kB / 334 MB, free: 5.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.01149, allocations: 257.1 kB / 334.3 MB, free: 5.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.0115, allocations: 8 kB / 334.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005585/0.01206, allocations: 416.4 kB / 334.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.01208, allocations: 29.7 kB / 334.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01209, allocations: 4 kB / 334.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.0123, allocations: 72.78 kB / 334.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.01241, allocations: 47.91 kB / 334.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.01388, allocations: 1.803 MB / 336.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.01404, allocations: 59.73 kB / 336.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.01405, allocations: 8 kB / 336.7 MB, free: 3.09 MB / 298.7 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 9.657e-05/0.01415, allocations: 137.8 kB / 336.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.01417, allocations: 23.86 kB / 336.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.0142, allocations: 30.11 kB / 336.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.01421, allocations: 8 kB / 336.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.01421, allocations: 0 / 336.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01421, allocations: 11.95 kB / 336.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.01438, allocations: 240.5 kB / 337.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01438, allocations: 0 / 337.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.01444, allocations: 27.91 kB / 337.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.01461, allocations: 76.78 kB / 337.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01462, allocations: 7.938 kB / 337.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.01695, allocations: 1.787 MB / 339.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01696, allocations: 3.938 kB / 339.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.01739, allocations: 304.2 kB / 339.4 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.01742, allocations: 31.73 kB / 339.4 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.01744, allocations: 8 kB / 339.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.01756, allocations: 23.97 kB / 339.4 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.01762, allocations: 27.95 kB / 339.5 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01763, allocations: 4 kB / 339.5 MB, free: 172 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.01777, allocations: 197.2 kB / 339.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01777, allocations: 0 / 339.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.01803, allocations: 75.89 kB / 339.7 MB, free: 15.91 MB / 314.7 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.000625/0.01866, allocations: 0.8394 MB / 340.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.0192, allocations: 423.4 kB / 341 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01921, allocations: 0 / 341 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.01946, allocations: 235 kB / 341.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.01969, allocations: 39.92 kB / 341.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.0228, allocations: 3.096 MB / 344.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.595e-05/0.02289, allocations: 142.2 kB / 344.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.197e-05/0.02296, allocations: 26.28 kB / 344.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.413e-05/0.02305, allocations: 84.47 kB / 344.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02305, allocations: 0 / 344.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.04697, allocations: 7.564 MB / 352.2 MB, free: 3.359 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/7.97, allocations: 0 / 352.2 MB, free: 3.359 MB / 314.7 MB " [Timeout remaining time 652] (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: 9.67950886208564] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 8.062750437296927 8.073926373 8.066604759 Calling exit ...