Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.372/1.372, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 47.92 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2587, allocations: 53.36 MB / 431.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004254/0.2629, allocations: 2.813 MB / 434 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.2642, allocations: 0.7167 MB / 434.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.2643, allocations: 7.938 kB / 434.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.2645, allocations: 43.56 kB / 434.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.2647, allocations: 91.25 kB / 434.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.2649, allocations: 103.8 kB / 434.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.2653, allocations: 354.6 kB / 435.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2655, allocations: 52.91 kB / 435.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.2657, allocations: 139.5 kB / 435.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.2659, allocations: 155.3 kB / 435.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.2659, allocations: 28 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.799e-05/0.266, allocations: 28 kB / 435.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.636e-05/0.2661, allocations: 63.7 kB / 435.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.2662, allocations: 147.2 kB / 435.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.2666, allocations: 323.1 kB / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2666, allocations: 4 kB / 436.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2666, allocations: 8 kB / 436.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2666, allocations: 0 / 436.2 MB, free: 1.785 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001178/0.2678, allocations: 0.5741 MB / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2678, allocations: 12.02 kB / 436.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.372e-05/0.2679, allocations: 54.73 kB / 436.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.2679, allocations: 32.75 kB / 436.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.2683, allocations: 221.9 kB / 437.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.2683, allocations: 16.75 kB / 437.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.2684, allocations: 28.36 kB / 437.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.269, allocations: 277.9 kB / 437.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.269, allocations: 0 / 437.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.269, allocations: 8 kB / 437.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.269, allocations: 4 kB / 437.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007125/0.2697, allocations: 245.5 kB / 437.7 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.2713, allocations: 0.9174 MB / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/0.272, allocations: 230.5 kB / 438.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.2724, allocations: 96.78 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2724, allocations: 0 / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004417/0.2728, allocations: 185.7 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.2728, allocations: 0 / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002206/0.275, allocations: 0.5721 MB / 439.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.2751, allocations: 106.8 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.2754, allocations: 261.8 kB / 440 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2754, allocations: 33.7 kB / 440.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.2755, allocations: 184 kB / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.2756, allocations: 43.67 kB / 440.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.2757, allocations: 49.66 kB / 440.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2758, allocations: 330.8 kB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.2761, allocations: 95.92 kB / 440.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.2765, allocations: 170.1 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.2772, allocations: 268.4 kB / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2772, allocations: 4 kB / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001118/0.2783, allocations: 434.1 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.2783, allocations: 37.69 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2783, allocations: 4 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/0.2787, allocations: 80.86 kB / 441.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.2789, allocations: 35.97 kB / 441.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.2815, allocations: 1.847 MB / 443.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.2818, allocations: 47.81 kB / 443.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2818, allocations: 11.98 kB / 443.7 MB, free: 9.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.282, allocations: 134.5 kB / 443.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.282, allocations: 27.8 kB / 443.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.2821, allocations: 21.83 kB / 443.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2821, allocations: 11.94 kB / 443.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.2821, allocations: 128 / 443.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2821, allocations: 3.938 kB / 443.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.2824, allocations: 276.5 kB / 444.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2824, allocations: 224 / 444.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2825, allocations: 19.97 kB / 444.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.2827, allocations: 88.67 kB / 444.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2828, allocations: 0 / 444.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.2851, allocations: 1.647 MB / 445.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2851, allocations: 192 / 445.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2861, allocations: 360.9 kB / 446.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.2861, allocations: 35.72 kB / 446.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.2862, allocations: 8 kB / 446.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.2864, allocations: 31.97 kB / 446.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.2865, allocations: 23.95 kB / 446.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.2865, allocations: 3.984 kB / 446.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.2867, allocations: 193.2 kB / 446.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2867, allocations: 0 / 446.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.287, allocations: 67.89 kB / 446.6 MB, free: 6.777 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: 3 ($whenCondition1,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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/0.2884, allocations: 0.8902 MB / 447.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009952/0.2894, allocations: 405.7 kB / 447.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2894, allocations: 0 / 447.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.2898, allocations: 231 kB / 448.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.2902, allocations: 43.38 kB / 448.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.2952, allocations: 2.941 MB / 451.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2955, allocations: 0.7518 MB / 451.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.341e-05/0.2956, allocations: 14.3 kB / 451.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.2957, allocations: 79.41 kB / 451.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2957, allocations: 0 / 451.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.3317, allocations: 6.55 MB / 458.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.75, allocations: 12.03 kB / 458.5 MB, free: 10.83 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.out.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.11662565000006]