Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.0008595/0.0008595, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001198/0.001198, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9056/0.9056, allocations: 177.1 MB / 204.3 MB, free: 5.703 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.2352/0.2352, 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.449e-05, allocations: 4.953 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.1723/0.1723, allocations: 1.726 MB / 444 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009207/0.1732, allocations: 0.9837 MB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.1733, allocations: 3.609 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.1735, allocations: 93.47 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1737, allocations: 120.5 kB / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.1739, allocations: 80.38 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.174, allocations: 118.2 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.1741, allocations: 16.08 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.1741, allocations: 72.98 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.1742, allocations: 60.41 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1742, allocations: 5.75 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.926e-05/0.1743, allocations: 64.14 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.1743, allocations: 31.53 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.1744, allocations: 22.8 kB / 445.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1745, allocations: 142.1 kB / 445.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.1745, allocations: 0 / 445.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1745, allocations: 1.812 kB / 445.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1745, allocations: 0 / 445.8 MB, free: 42.94 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.0003203/0.1748, allocations: 365.8 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1749, allocations: 8.094 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.081e-05/0.1749, allocations: 41.38 kB / 446.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.1749, allocations: 14.09 kB / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.1751, allocations: 154.7 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1751, allocations: 8.438 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1751, allocations: 6.844 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.327e-05/0.1752, allocations: 58.84 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1752, allocations: 10.39 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.1752, allocations: 3.875 kB / 446.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1752, allocations: 8.344 kB / 446.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.703e-05/0.1753, allocations: 24.42 kB / 446.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.1755, allocations: 267 kB / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1756, allocations: 61.67 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.1757, allocations: 25.67 kB / 446.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1757, allocations: 3.312 kB / 446.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.84e-05/0.1758, allocations: 73.52 kB / 446.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1758, allocations: 0 / 446.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004381/0.1762, allocations: 247.4 kB / 447.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.1762, allocations: 54.25 kB / 447.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1763, allocations: 238.7 kB / 447.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.413e-06/0.1763, allocations: 26.2 kB / 447.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.1764, allocations: 116.2 kB / 447.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1764, allocations: 31.64 kB / 447.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.1764, allocations: 29.36 kB / 447.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.7e-05/0.1764, allocations: 334.4 kB / 448 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.468e-05/0.1765, allocations: 32 kB / 448 MB, free: 41.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.1765, allocations: 48.47 kB / 448 MB, free: 41.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.1766, allocations: 89.72 kB / 448.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1766, allocations: 0 / 448.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001067/0.1767, allocations: 124.5 kB / 448.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1767, allocations: 5.781 kB / 448.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1767, allocations: 3.062 kB / 448.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1767, allocations: 0 / 448.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.43e-05/0.1768, allocations: 29.12 kB / 448.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1768, allocations: 3.5 kB / 448.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.1768, allocations: 6.969 kB / 448.3 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1768, allocations: 3.156 kB / 448.3 MB, free: 41.22 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 4.831e-05/0.1769, allocations: 138.6 kB / 448.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.1769, allocations: 19.52 kB / 448.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.177, allocations: 156.9 kB / 448.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.177, allocations: 3.328 kB / 448.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.177, allocations: 1.312 kB / 448.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.177, allocations: 0 / 448.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.1773, allocations: 434.3 kB / 449 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1773, allocations: 5.875 kB / 449 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.1773, allocations: 11.69 kB / 449 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1773, allocations: 6.844 kB / 449.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1773, allocations: 7.375 kB / 449.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1773, allocations: 2.688 kB / 449.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1773, allocations: 3.938 kB / 449.1 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.1774, allocations: 239.2 kB / 449.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.1774, allocations: 20.78 kB / 449.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.1774, allocations: 10.75 kB / 449.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.1775, allocations: 3.328 kB / 449.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.1775, allocations: 8.828 kB / 449.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1775, allocations: 11.62 kB / 449.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.711e-05/0.1776, allocations: 172.8 kB / 449.5 MB, free: 40.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1776, allocations: 0 / 449.5 MB, free: 40.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.1777, allocations: 35.41 kB / 449.6 MB, free: 40.34 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.0008941/0.1786, allocations: 1.225 MB / 450.8 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.1788, allocations: 90.45 kB / 450.9 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.1788, allocations: 0 / 450.9 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.1788, allocations: 37.98 kB / 450.9 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.179, allocations: 36.44 kB / 450.9 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009409/0.1799, allocations: 1.863 MB / 452.8 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.18, allocations: 109.8 kB / 452.9 MB, free: 37.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.688e-05/0.18, allocations: 22.86 kB / 452.9 MB, free: 37.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.1801, allocations: 47.55 kB / 453 MB, free: 37.9 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1801, allocations: 0 / 453 MB, free: 37.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.1948, allocations: 4.768 MB / 457.8 MB, free: 36.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/6.877, allocations: 9.656 kB / 457.8 MB, free: 36.45 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.816403876058757]