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.0008454/0.0008454, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001267/0.001267, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9043/0.9043, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.253/0.253, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 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 2.054e-06/2.054e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.098e-05, allocations: 2.281 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.195/0.195, allocations: 1.69 MB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004049/0.1954, allocations: 156.5 kB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.1955, allocations: 4.844 kB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.1955, allocations: 7.312 kB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.1956, allocations: 15.47 kB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1959, allocations: 103.6 kB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.196, allocations: 106.7 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1961, allocations: 27.14 kB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.215e-05/0.1962, allocations: 60.53 kB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.1962, allocations: 38.64 kB / 444.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1962, allocations: 8.719 kB / 444.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.1962, allocations: 8.094 kB / 444.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.1963, allocations: 21.97 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.1963, allocations: 25.62 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.1964, allocations: 93.38 kB / 444.5 MB, free: 43.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1964, allocations: 3.469 kB / 444.5 MB, free: 43.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1964, allocations: 0 / 444.5 MB, free: 43.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1964, allocations: 2.25 kB / 444.5 MB, free: 43.22 MB / 410.7 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.0004428/0.1969, allocations: 373 kB / 444.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1969, allocations: 14.94 kB / 444.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.1969, allocations: 42.75 kB / 444.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.1969, allocations: 7.922 kB / 445 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1972, allocations: 151.8 kB / 445.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1972, allocations: 6.812 kB / 445.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1972, allocations: 4.031 kB / 445.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.1974, allocations: 206.7 kB / 445.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1974, allocations: 192 / 445.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1974, allocations: 384 / 445.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1974, allocations: 9.938 kB / 445.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.1976, allocations: 118 kB / 445.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.198, allocations: 0.4894 MB / 445.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.1982, allocations: 131.7 kB / 446.1 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-05/0.1983, allocations: 58.7 kB / 446.1 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1984, allocations: 0 / 446.1 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.1984, allocations: 36.75 kB / 446.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1984, allocations: 4 kB / 446.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000362/0.1987, allocations: 185.9 kB / 446.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.1988, allocations: 109.7 kB / 446.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.1988, allocations: 134.9 kB / 446.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.1988, allocations: 36.27 kB / 446.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.1989, allocations: 108.4 kB / 446.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.1989, allocations: 20.7 kB / 446.7 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.1989, allocations: 28.7 kB / 446.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.215e-05/0.199, allocations: 324.1 kB / 447.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.136e-05/0.199, allocations: 48.88 kB / 447.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1992, allocations: 147.2 kB / 447.3 MB, free: 41.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1993, allocations: 106.9 kB / 447.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1993, allocations: 0 / 447.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.1995, allocations: 158 kB / 447.5 MB, free: 41.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1995, allocations: 5.438 kB / 447.5 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1995, allocations: 0 / 447.5 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1996, allocations: 2.688 kB / 447.5 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.1997, allocations: 22.88 kB / 447.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1997, allocations: 2.562 kB / 447.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.1997, allocations: 41.2 kB / 447.6 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1997, allocations: 6.25 kB / 447.6 MB, free: 41.19 MB / 410.7 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 5.361e-05/0.1998, allocations: 126.7 kB / 447.7 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.1998, allocations: 9.547 kB / 447.7 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.1998, allocations: 13.25 kB / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1998, allocations: 0 / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1998, allocations: 0 / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1998, allocations: 0 / 447.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.2, allocations: 177 kB / 447.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2, allocations: 1.125 kB / 447.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.2, allocations: 20.23 kB / 447.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2, allocations: 2.938 kB / 447.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2, allocations: 0 / 447.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2, allocations: 0 / 447.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2, allocations: 0 / 447.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.2002, allocations: 243.5 kB / 448.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-06/0.2002, allocations: 10.69 kB / 448.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2002, allocations: 10.14 kB / 448.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.2003, allocations: 23.11 kB / 448.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.2004, allocations: 8.188 kB / 448.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.2004, allocations: 5.297 kB / 448.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.83e-05/0.2004, allocations: 106 kB / 448.3 MB, free: 40.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2004, allocations: 0 / 448.3 MB, free: 40.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.2005, allocations: 27.66 kB / 448.4 MB, free: 40.66 MB / 410.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: 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.0003077/0.2009, allocations: 0.7691 MB / 449.1 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.2011, allocations: 113 kB / 449.3 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.2011, allocations: 0 / 449.3 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.059e-05/0.2012, allocations: 58.95 kB / 449.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.2014, allocations: 22.33 kB / 449.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.2026, allocations: 1.663 MB / 451 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.237e-05/0.2026, allocations: 86.17 kB / 451.1 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.2027, allocations: 10.67 kB / 451.1 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.2027, allocations: 29.69 kB / 451.1 MB, free: 38.59 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2027, allocations: 4.219 kB / 451.1 MB, free: 38.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.2186, allocations: 3.558 MB / 454.7 MB, free: 37.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/7.172, allocations: 2.5 kB / 454.7 MB, free: 37.55 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ZeroThresholds/ZeroThresholds.csv","/var/lib/jenkins/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: 9.294713313691318]