Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.000927/0.000927, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.0009055/0.0009055, allocations: 170 kB / 23.95 MB, free: 0.6055 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.864/0.864, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.236/0.236, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.571e-05, allocations: 3.266 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.1699/0.1699, allocations: 1.717 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.171, allocations: 0.974 MB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.1711, allocations: 2.875 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.1714, allocations: 44.41 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1717, allocations: 97.38 kB / 445.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.1718, allocations: 78.59 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1719, allocations: 112.5 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1721, allocations: 6.656 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.1721, allocations: 56.55 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.1722, allocations: 25.59 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1722, allocations: 6.781 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.503e-05/0.1723, allocations: 49.05 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.1723, allocations: 20.09 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.1724, allocations: 25.75 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1725, allocations: 115.4 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1725, allocations: 2.094 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1725, allocations: 0 / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1725, allocations: 0 / 445.6 MB, free: 42.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003922/0.1729, allocations: 355 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.173, allocations: 8.188 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.173, allocations: 34.09 kB / 446 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.173, allocations: 10.14 kB / 446 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1732, allocations: 160.5 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1732, allocations: 4.938 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1733, allocations: 7.062 kB / 446.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1734, allocations: 58.11 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1734, allocations: 10.7 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1734, allocations: 0 / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1734, allocations: 4.969 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.006e-05/0.1734, allocations: 18.47 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.1737, allocations: 257.2 kB / 446.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1738, allocations: 58.02 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.1738, allocations: 20.8 kB / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.1739, allocations: 4.219 kB / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.174, allocations: 70.3 kB / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.174, allocations: 0 / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003834/0.1744, allocations: 183 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.1744, allocations: 54 kB / 446.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1745, allocations: 215.1 kB / 447.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.1745, allocations: 30.3 kB / 447.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.1745, allocations: 102.8 kB / 447.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1745, allocations: 25.39 kB / 447.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.1746, allocations: 23.53 kB / 447.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.1746, allocations: 329.1 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.425e-05/0.1746, allocations: 24.78 kB / 447.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.1747, allocations: 44.56 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.397e-05/0.1747, allocations: 55.78 kB / 447.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1747, allocations: 2.781 kB / 447.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001021/0.1748, allocations: 115.5 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.1749, allocations: 2.906 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1749, allocations: 2.906 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1749, allocations: 0 / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.1749, allocations: 17.66 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1749, allocations: 4.031 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.175, allocations: 4.188 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.175, allocations: 6.688 kB / 447.9 MB, free: 41.32 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 (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.198e-05/0.175, allocations: 130.8 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.175, allocations: 9.453 kB / 448 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.1752, allocations: 126.1 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1752, allocations: 0 / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1752, allocations: 0 / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1752, allocations: 0 / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.1754, allocations: 389 kB / 448.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1754, allocations: 0 / 448.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.1755, allocations: 8.688 kB / 448.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1755, allocations: 2.938 kB / 448.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1755, allocations: 3.188 kB / 448.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1755, allocations: 3.812 kB / 448.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1755, allocations: 7.078 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1756, allocations: 212.5 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.1756, allocations: 14.36 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1756, allocations: 0 / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.842e-05/0.1757, allocations: 6.906 kB / 448.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.1757, allocations: 10.16 kB / 448.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1757, allocations: 11 kB / 448.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.557e-05/0.1758, allocations: 157.8 kB / 448.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1758, allocations: 0 / 448.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.1759, allocations: 29.12 kB / 448.9 MB, free: 40.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0009352/0.1769, allocations: 1.14 MB / 450.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.177, allocations: 56.27 kB / 450.1 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.177, allocations: 0 / 450.1 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.177, allocations: 32.42 kB / 450.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1773, allocations: 44.3 kB / 450.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.1782, allocations: 1.707 MB / 451.9 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.1783, allocations: 101.8 kB / 452 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.78e-05/0.1783, allocations: 14.28 kB / 452 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.1783, allocations: 39.55 kB / 452.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1784, allocations: 0 / 452.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.1951, allocations: 4.331 MB / 456.4 MB, free: 36.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/6.865, allocations: 2.719 kB / 456.4 MB, free: 36.83 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.771942068822682]