Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0008972/0.0008972, 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.0009469/0.0009469, 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.866/0.866, 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.2423/0.2423, 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.341e-05, allocations: 4.25 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.1648/0.1648, allocations: 1.711 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1659, allocations: 0.9963 MB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.166, allocations: 0 / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1663, allocations: 37.59 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.1666, allocations: 96.25 kB / 445.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.1667, allocations: 82.78 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1668, allocations: 112.9 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.1669, allocations: 9.562 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.881e-05/0.167, allocations: 62.75 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.1671, allocations: 31.5 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1671, allocations: 5.688 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1672, allocations: 107 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.1673, allocations: 28.05 kB / 445.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.1673, allocations: 21.02 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1675, allocations: 183.1 kB / 445.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1675, allocations: 1.5 kB / 445.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1675, allocations: 0 / 445.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1675, allocations: 0 / 445.7 MB, free: 42.9 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.0003776/0.1679, allocations: 356.1 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1679, allocations: 11.56 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.237e-05/0.1679, allocations: 37.91 kB / 446.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.168, allocations: 14.88 kB / 446.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1681, allocations: 151.8 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1682, allocations: 0.9375 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.1682, allocations: 3.969 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1683, allocations: 104.3 kB / 446.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1683, allocations: 0 / 446.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1683, allocations: 1.25 kB / 446.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1683, allocations: 3.375 kB / 446.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.1684, allocations: 18.83 kB / 446.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.1686, allocations: 253.7 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1688, allocations: 66.98 kB / 446.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.1688, allocations: 29.31 kB / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1688, allocations: 0 / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.1689, allocations: 81.28 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.1689, allocations: 0 / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004526/0.1694, allocations: 208.7 kB / 447.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1694, allocations: 80.61 kB / 447.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1695, allocations: 173.5 kB / 447.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.1695, allocations: 25.7 kB / 447.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.1696, allocations: 103.4 kB / 447.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.1696, allocations: 35.45 kB / 447.5 MB, free: 41.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1696, allocations: 28.44 kB / 447.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.1697, allocations: 324.3 kB / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.1697, allocations: 34.12 kB / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.215e-05/0.1698, allocations: 77.88 kB / 447.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.992e-05/0.1699, allocations: 88.8 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1699, allocations: 0 / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000127/0.17, allocations: 125.1 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.17, allocations: 5.906 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.17, allocations: 3.375 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.17, allocations: 0 / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.1701, allocations: 23.22 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1701, allocations: 2.875 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.1701, allocations: 10.03 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1702, allocations: 2.875 kB / 448.2 MB, free: 41.14 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.612e-05/0.1702, allocations: 132.3 kB / 448.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.1702, allocations: 13.81 kB / 448.3 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.1704, allocations: 130 kB / 448.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1704, allocations: 2.781 kB / 448.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1704, allocations: 0 / 448.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1704, allocations: 0 / 448.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.1707, allocations: 403.9 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1707, allocations: 2.719 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.1707, allocations: 21.17 kB / 448.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1707, allocations: 0 / 448.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1707, allocations: 7.438 kB / 448.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1707, allocations: 2.156 kB / 448.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1707, allocations: 1.969 kB / 448.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1709, allocations: 222.1 kB / 449.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.1709, allocations: 13.92 kB / 449.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1709, allocations: 10.78 kB / 449.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.1709, allocations: 2.906 kB / 449.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.171, allocations: 6.062 kB / 449.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.171, allocations: 10.12 kB / 449.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.171, allocations: 133.2 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.171, allocations: 0 / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.1712, allocations: 64.66 kB / 449.3 MB, free: 40.29 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 (11): * Single equations (assignments): 9 * 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.001037/0.1723, allocations: 1.266 MB / 450.6 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.1724, allocations: 72.98 kB / 450.7 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1724, allocations: 0 / 450.7 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.1725, allocations: 38.5 kB / 450.7 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1727, allocations: 34.28 kB / 450.7 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/0.1736, allocations: 1.69 MB / 452.4 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.729e-05/0.1736, allocations: 95.72 kB / 452.5 MB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.208e-05/0.1737, allocations: 26.95 kB / 452.5 MB, free: 37.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.1737, allocations: 38.75 kB / 452.6 MB, free: 37.95 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1737, allocations: 0 / 452.6 MB, free: 37.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.189, allocations: 5.106 MB / 457.7 MB, free: 36.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.699/6.888, allocations: 9.969 kB / 457.7 MB, free: 36.38 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.795540827326477]