Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.0008424/0.0008424, allocations: 79.7 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.0009217/0.0009217, allocations: 174 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.8742/0.8742, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2351/0.2351, allocations: 34.25 MB / 294.9 MB, free: 0.7031 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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.489e-05, allocations: 2.281 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.1767/0.1767, allocations: 1.711 MB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1778, allocations: 0.9736 MB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.1779, allocations: 0 / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1782, allocations: 41.08 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.1784, allocations: 93.94 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.1785, allocations: 83.06 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.1786, allocations: 108 kB / 445.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.1787, allocations: 10.16 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.675e-05/0.1788, allocations: 57.92 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.1789, allocations: 26.55 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1789, allocations: 5.562 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.1789, allocations: 38.45 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.179, allocations: 26.67 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.179, allocations: 16.22 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1792, allocations: 117.9 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1792, allocations: 0 / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1792, allocations: 0 / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1792, allocations: 0 / 445.6 MB, free: 43 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.0003459/0.1795, allocations: 347.3 kB / 445.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1795, allocations: 10.69 kB / 445.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.085e-05/0.1796, allocations: 30.75 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.1796, allocations: 10.36 kB / 446 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1798, allocations: 159.3 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1798, allocations: 0.9375 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1798, allocations: 3.125 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.85e-05/0.1799, allocations: 65.47 kB / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1799, allocations: 0.75 kB / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.1799, allocations: 0.7812 kB / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1799, allocations: 2.656 kB / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.529e-05/0.18, allocations: 22.11 kB / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.1802, allocations: 256.3 kB / 446.5 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.1803, allocations: 56.42 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.1803, allocations: 20.52 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1803, allocations: 0 / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.626e-05/0.1804, allocations: 70.52 kB / 446.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.1804, allocations: 3.938 kB / 446.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003557/0.1808, allocations: 188.7 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.1808, allocations: 54.22 kB / 446.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/0.1809, allocations: 184.1 kB / 447 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.1809, allocations: 33.33 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.1809, allocations: 102 kB / 447.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.181, allocations: 25.92 kB / 447.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.181, allocations: 24 kB / 447.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.018e-05/0.181, allocations: 327.9 kB / 447.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.181, allocations: 22.53 kB / 447.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.1811, allocations: 34.88 kB / 447.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.354e-05/0.1811, allocations: 62.59 kB / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1811, allocations: 0 / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.673e-05/0.1812, allocations: 104 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1812, allocations: 9.703 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1813, allocations: 0 / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1813, allocations: 3.469 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.1813, allocations: 18.38 kB / 447.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1813, allocations: 4.812 kB / 447.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.1813, allocations: 4.578 kB / 447.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1814, allocations: 6.594 kB / 447.8 MB, free: 41.38 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 4.893e-05/0.1814, allocations: 125.8 kB / 447.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.1814, allocations: 14.75 kB / 447.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.1815, allocations: 116.7 kB / 448 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1815, allocations: 0 / 448 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1816, allocations: 0 / 448 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1816, allocations: 3.469 kB / 448 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.1818, allocations: 374.8 kB / 448.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1818, allocations: 4.031 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.1818, allocations: 10.44 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1818, allocations: 0 / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1818, allocations: 9.312 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1818, allocations: 0 / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1818, allocations: 6.594 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1819, allocations: 215.1 kB / 448.6 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.1819, allocations: 10.59 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1819, allocations: 2.656 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.182, allocations: 6.625 kB / 448.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.182, allocations: 17.88 kB / 448.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.182, allocations: 6 kB / 448.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.503e-05/0.1821, allocations: 144.1 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1821, allocations: 0 / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.1822, allocations: 27.41 kB / 448.9 MB, free: 40.6 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.0008516/0.1831, allocations: 1.134 MB / 450 MB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1832, allocations: 59.56 kB / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.1832, allocations: 0 / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.1832, allocations: 29.03 kB / 450.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1835, allocations: 42.8 kB / 450.1 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/0.1843, allocations: 1.654 MB / 451.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.387e-05/0.1844, allocations: 88.5 kB / 451.9 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.49e-05/0.1844, allocations: 17.78 kB / 451.9 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.1845, allocations: 39.69 kB / 451.9 MB, free: 38.31 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1845, allocations: 0 / 451.9 MB, free: 38.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.199, allocations: 4.219 MB / 456.1 MB, free: 36.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/6.914, allocations: 3.375 kB / 456.1 MB, free: 36.92 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.83311886806041]