Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.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.001655/0.001655, allocations: 111.1 kB / 20.44 MB, free: 1.344 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.001613/0.001613, allocations: 214.6 kB / 23.73 MB, free: 4.523 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2445/0.2445, allocations: 46.96 MB / 360.9 MB, free: 4.148 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Blocks.ZeroThresholds,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ZeroThresholds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ZeroThresholds,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ZeroThresholds",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 67.89 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3509, allocations: 66.04 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.004593/0.3555, allocations: 1.7 MB / 0.5622 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005977/0.3561, allocations: 147.6 kB / 0.5624 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.3562, allocations: 7.938 kB / 0.5624 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.734e-05/0.3563, allocations: 11.86 kB / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.3563, allocations: 7.875 kB / 0.5624 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.3568, allocations: 107.7 kB / 0.5625 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.3571, allocations: 103.8 kB / 0.5626 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.3573, allocations: 31.39 kB / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3574, allocations: 51.84 kB / 0.5627 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.3575, allocations: 35.78 kB / 0.5627 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.3576, allocations: 11.94 kB / 0.5627 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.839e-05/0.3576, allocations: 8 kB / 0.5627 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.3576, allocations: 19.92 kB / 0.5628 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.3577, allocations: 35.8 kB / 0.5628 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3579, allocations: 91.61 kB / 0.5629 GB, free: 1.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3579, allocations: 0 / 0.5629 GB, free: 1.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3579, allocations: 0 / 0.5629 GB, free: 1.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.3579, allocations: 7.938 kB / 0.5629 GB, free: 1.875 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009725/0.3589, allocations: 369.8 kB / 0.5632 GB, free: 1.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/0.359, allocations: 15.95 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.73e-05/0.359, allocations: 38.75 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.3591, allocations: 16.84 kB / 0.5633 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.3596, allocations: 141.2 kB / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3596, allocations: 4.375 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3597, allocations: 16.31 kB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.3602, allocations: 197.9 kB / 0.5637 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3602, allocations: 3.938 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3602, allocations: 7.984 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3602, allocations: 4 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.3608, allocations: 107.8 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007934/0.3615, allocations: 0.496 MB / 0.5643 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.362, allocations: 134.5 kB / 0.5644 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3621, allocations: 52.84 kB / 0.5644 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3622, allocations: 4 kB / 0.5644 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3622, allocations: 34.55 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.3622, allocations: 0 / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006507/0.3628, allocations: 193.4 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.3629, allocations: 102.8 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3631, allocations: 140.5 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3631, allocations: 29.69 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.3632, allocations: 116.2 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.3632, allocations: 23.84 kB / 0.565 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.3633, allocations: 25.7 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3634, allocations: 326.8 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3636, allocations: 47.95 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.3639, allocations: 135.6 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.3642, allocations: 110.7 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3642, allocations: 0 / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004377/0.3647, allocations: 157.4 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.3647, allocations: 8.062 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3647, allocations: 0 / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3647, allocations: 4 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3649, allocations: 27.91 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.3649, allocations: 0 / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.365, allocations: 35.8 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.365, allocations: 7.938 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (lessEqualThreshold.y,lessThreshold.y,greaterEqualThreshold.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001345/0.3652, allocations: 129.8 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.3652, allocations: 11.94 kB / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.3653, allocations: 8.719 kB / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3653, allocations: 4 kB / 0.566 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3653, allocations: 0 / 0.566 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3653, allocations: 3.938 kB / 0.566 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.3655, allocations: 168.7 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3655, allocations: 0 / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3656, allocations: 27.91 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3656, allocations: 0 / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3656, allocations: 12 kB / 0.5662 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3656, allocations: 0 / 0.5662 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3656, allocations: 0 / 0.5662 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.3661, allocations: 239.3 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.3661, allocations: 7.891 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.3662, allocations: 4 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3663, allocations: 27.97 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.3664, allocations: 11.92 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.3664, allocations: 8 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.042e-05/0.3665, allocations: 101.3 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3665, allocations: 0 / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.3667, allocations: 20 kB / 0.5666 GB, free: 13.68 MB / 414.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: 4 (greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008348/0.3675, allocations: 0.7675 MB / 0.5674 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004138/0.368, allocations: 115.9 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.368, allocations: 0 / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3682, allocations: 64.06 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.3684, allocations: 27.89 kB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.371, allocations: 1.661 MB / 0.5692 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.044e-05/0.3711, allocations: 85.31 kB / 0.5693 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.378e-05/0.3712, allocations: 8.672 kB / 0.5693 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.3712, allocations: 31.42 kB / 0.5693 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3712, allocations: 0 / 0.5693 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.3972, allocations: 3.417 MB / 0.5727 GB, free: 7.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.86, allocations: 6.734 kB / 0.5727 GB, free: 7.504 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019988 ModelicaTest_4_1_0_ModelicaTest_Blocks_ZeroThresholds.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ZeroThresholds/ZeroThresholds.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv failed! Error: Could not read variable greaterThreshold.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv. Warning: Get data of variable greaterThreshold.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv failed! Error: Could not read variable greaterEqualThreshold.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv. Warning: Get data of variable greaterEqualThreshold.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv failed! Error: Could not read variable lessThreshold.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv. Warning: Get data of variable lessThreshold.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv failed! Error: Could not read variable lessEqualThreshold.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv. Warning: Get data of variable lessEqualThreshold.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.940143778920174]