Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.0008006/0.0008006, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.0007977/0.0007977, allocations: 166 kB / 23.95 MB, free: 0.5977 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.8858/0.8858, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.805e-05, allocations: 3.828 kB / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002193/0.002211, allocations: 1.737 MB / 441.4 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003427, allocations: 0.9742 MB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.003503, allocations: 0 / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.003827, allocations: 111.6 kB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.004137, allocations: 135.4 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.004325, allocations: 79.66 kB / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.004489, allocations: 131.5 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.004587, allocations: 4 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.055e-05/0.004678, allocations: 75.8 kB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.004798, allocations: 63.86 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.004813, allocations: 4 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.004915, allocations: 63.91 kB / 443 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.004969, allocations: 23.92 kB / 443.1 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.005009, allocations: 27.86 kB / 443.1 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.005206, allocations: 151.3 kB / 443.2 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005208, allocations: 0 / 443.2 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005209, allocations: 0 / 443.2 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.005216, allocations: 0 / 443.2 MB, free: 0.5625 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004905/0.005706, allocations: 377.3 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.005742, allocations: 8.031 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.005774, allocations: 38.73 kB / 443.7 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.005807, allocations: 16.84 kB / 443.7 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1663/0.1721, allocations: 158.8 kB / 443.8 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1721, allocations: 5.219 kB / 443.8 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1721, allocations: 6.906 kB / 443.8 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1723, allocations: 61.34 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1723, allocations: 2.656 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-06/0.1723, allocations: 3.188 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1723, allocations: 1.625 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.901e-05/0.1723, allocations: 22.73 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.1726, allocations: 280.5 kB / 444.2 MB, free: 46.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.1728, allocations: 61.33 kB / 444.3 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.1729, allocations: 21.61 kB / 444.3 MB, free: 46.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1729, allocations: 3.719 kB / 444.3 MB, free: 46.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.173, allocations: 72.47 kB / 444.4 MB, free: 46.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.173, allocations: 0 / 444.4 MB, free: 46.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005326/0.1735, allocations: 260 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.1735, allocations: 58.19 kB / 444.7 MB, free: 45.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1737, allocations: 251.4 kB / 444.9 MB, free: 45.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.1737, allocations: 32.55 kB / 444.9 MB, free: 45.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.1737, allocations: 113.8 kB / 445.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.1738, allocations: 39.08 kB / 445.1 MB, free: 45.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.1738, allocations: 25.81 kB / 445.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.534e-05/0.1738, allocations: 329.8 kB / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.1739, allocations: 29.31 kB / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.1739, allocations: 50.41 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.174, allocations: 84.94 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.174, allocations: 0 / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001231/0.1741, allocations: 139.2 kB / 445.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1741, allocations: 4.875 kB / 445.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1741, allocations: 0 / 445.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1741, allocations: 0 / 445.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.1742, allocations: 26.55 kB / 445.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1742, allocations: 1.75 kB / 445.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.1742, allocations: 2.906 kB / 445.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1742, allocations: 9.062 kB / 445.8 MB, free: 45.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.028e-05/0.1743, allocations: 138 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.1743, allocations: 21.28 kB / 445.9 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.1745, allocations: 161.1 kB / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1745, allocations: 0 / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.1745, allocations: 2.875 kB / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1745, allocations: 0 / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1748, allocations: 430.2 kB / 446.5 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1748, allocations: 0 / 446.5 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.1748, allocations: 22.36 kB / 446.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1748, allocations: 3.531 kB / 446.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1748, allocations: 5.219 kB / 446.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1748, allocations: 2.906 kB / 446.6 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1748, allocations: 0 / 446.6 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.1749, allocations: 241.9 kB / 446.8 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.175, allocations: 20.89 kB / 446.8 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.175, allocations: 2.844 kB / 446.8 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.175, allocations: 4.406 kB / 446.8 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.175, allocations: 13.41 kB / 446.8 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1751, allocations: 13.06 kB / 446.8 MB, free: 44.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.102e-05/0.1751, allocations: 195.4 kB / 447 MB, free: 44.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1751, allocations: 0 / 447 MB, free: 44.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000185/0.1753, allocations: 33.06 kB / 447.1 MB, free: 44.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00104/0.1764, allocations: 1.221 MB / 448.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.1765, allocations: 79.22 kB / 448.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.1765, allocations: 2.625 kB / 448.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.1766, allocations: 41.23 kB / 448.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.1768, allocations: 40.66 kB / 448.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1779, allocations: 1.903 MB / 450.3 MB, free: 42.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.536e-05/0.178, allocations: 111.3 kB / 450.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.178, allocations: 18.69 kB / 450.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.178, allocations: 51.64 kB / 450.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1781, allocations: 2.812 kB / 450.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.1951, allocations: 4.85 MB / 455.4 MB, free: 40.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.184, allocations: 9.938 kB / 455.4 MB, free: 40.55 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.228318833746016]