Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.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.001559/0.001559, allocations: 115.8 kB / 17.13 MB, free: 5.93 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.001418/0.001418, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 207.6 MB / 230.5 MB, free: 4.012 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.367/0.367, allocations: 44.22 MB / 326.6 MB, free: 6.766 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.Hysteresis,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Hysteresis,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 67.84 kB / 462.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3854, allocations: 60.99 MB / 0.5109 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002635/0.388, allocations: 1.459 MB / 0.5124 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008681/0.3889, allocations: 462.9 kB / 0.5128 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.3889, allocations: 0 / 0.5128 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.389, allocations: 0 / 0.5128 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.767e-05/0.389, allocations: 7.875 kB / 0.5128 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.3892, allocations: 19.66 kB / 0.5128 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.949e-05/0.3893, allocations: 39.77 kB / 0.5129 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3894, allocations: 7.984 kB / 0.5129 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.982e-05/0.3895, allocations: 18.78 kB / 0.5129 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.3896, allocations: 18.38 kB / 0.5129 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3896, allocations: 2.5 kB / 0.5129 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.3897, allocations: 7.906 kB / 0.5129 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.3897, allocations: 7.984 kB / 0.5129 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.3897, allocations: 11.66 kB / 0.5129 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.3898, allocations: 34.59 kB / 0.513 GB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3898, allocations: 0 / 0.513 GB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3898, allocations: 0 / 0.513 GB, free: 11.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3898, allocations: 1.469 kB / 0.513 GB, free: 11.56 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005672/0.3904, allocations: 350.6 kB / 0.5133 GB, free: 11.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.3905, allocations: 13.55 kB / 0.5133 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.3905, allocations: 30.75 kB / 0.5133 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.3905, allocations: 11.67 kB / 0.5134 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3907, allocations: 162.6 kB / 0.5135 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3907, allocations: 1.438 kB / 0.5135 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3907, allocations: 1.344 kB / 0.5135 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.3909, allocations: 66.48 kB / 0.5136 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3909, allocations: 4 kB / 0.5136 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3909, allocations: 3.984 kB / 0.5136 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3909, allocations: 5.031 kB / 0.5136 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.553e-05/0.391, allocations: 19.17 kB / 0.5136 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.3914, allocations: 262.8 kB / 0.5139 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3915, allocations: 38.94 kB / 0.5139 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.3916, allocations: 19.33 kB / 0.5139 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3916, allocations: 0 / 0.5139 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3916, allocations: 31.84 kB / 0.5139 GB, free: 10.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3916, allocations: 1.094 kB / 0.5139 GB, free: 10.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002525/0.3919, allocations: 61.75 kB / 0.514 GB, free: 10.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3919, allocations: 78.33 kB / 0.5141 GB, free: 10.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.789e-05/0.392, allocations: 119.7 kB / 0.5142 GB, free: 10.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.392, allocations: 27.11 kB / 0.5142 GB, free: 10.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.3921, allocations: 89.66 kB / 0.5143 GB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.3921, allocations: 9.328 kB / 0.5143 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.3921, allocations: 16.72 kB / 0.5143 GB, free: 10.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.3922, allocations: 320.3 kB / 0.5146 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.096e-05/0.3922, allocations: 10.78 kB / 0.5146 GB, free: 9.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.938e-05/0.3923, allocations: 35.42 kB / 0.5147 GB, free: 9.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.604e-05/0.3924, allocations: 23.78 kB / 0.5147 GB, free: 9.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3924, allocations: 0 / 0.5147 GB, free: 9.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001124/0.3925, allocations: 55.67 kB / 0.5147 GB, free: 9.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3925, allocations: 9.25 kB / 0.5148 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3925, allocations: 1.781 kB / 0.5148 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3925, allocations: 0 / 0.5148 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.3926, allocations: 3.594 kB / 0.5148 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3926, allocations: 4.031 kB / 0.5148 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.3927, allocations: 9.328 kB / 0.5148 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3927, allocations: 5.812 kB / 0.5148 GB, free: 9.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (hysteresis.y,$PRE.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/0.3927, allocations: 115.6 kB / 0.5149 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3928, allocations: 5.734 kB / 0.5149 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.3928, allocations: 9.375 kB / 0.5149 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3928, allocations: 0 / 0.5149 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3928, allocations: 1.781 kB / 0.5149 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3928, allocations: 7.984 kB / 0.5149 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3929, allocations: 160 kB / 0.5151 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3929, allocations: 0 / 0.5151 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.393, allocations: 9.828 kB / 0.5151 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.393, allocations: 1.031 kB / 0.5151 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.393, allocations: 0 / 0.5151 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.393, allocations: 1.156 kB / 0.5151 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.393, allocations: 0 / 0.5151 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.3932, allocations: 161.9 kB / 0.5152 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.3932, allocations: 81.06 kB / 0.5153 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.3932, allocations: 2.125 kB / 0.5153 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.3933, allocations: 8.578 kB / 0.5153 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.3934, allocations: 7.344 kB / 0.5153 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3934, allocations: 6.969 kB / 0.5153 GB, free: 9.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.162e-05/0.3934, allocations: 83.56 kB / 0.5154 GB, free: 8.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3934, allocations: 0 / 0.5154 GB, free: 8.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.3936, allocations: 10.38 kB / 0.5154 GB, free: 8.941 MB / 382.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: 1 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003857/0.394, allocations: 0.6869 MB / 0.5161 GB, free: 8.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.3942, allocations: 31.91 kB / 0.5161 GB, free: 8.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3942, allocations: 4.031 kB / 0.5161 GB, free: 8.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.3942, allocations: 8.375 kB / 0.5161 GB, free: 8.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3945, allocations: 9.188 kB / 0.5161 GB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.3949, allocations: 160.5 kB / 0.5163 GB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.3951, allocations: 0.6832 MB / 0.517 GB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.481e-05/0.3951, allocations: 1.438 kB / 0.517 GB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.3951, allocations: 17.53 kB / 0.517 GB, free: 7.344 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3951, allocations: 0 / 0.517 GB, free: 7.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.4204, allocations: 1.506 MB / 0.5185 GB, free: 6.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.538, allocations: 6.016 kB / 0.5185 GB, free: 6.414 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000598325 ModelicaTest_3_2_3_ModelicaTest_Blocks_Hysteresis.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable hysteresis.y in file ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis_res.csv. Warning: Get data of variable hysteresis.y from file ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.56259786800365]