Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.0008174/0.0008174, allocations: 83.69 kB / 20.68 MB, free: 3.883 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.0008898/0.0008898, 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.8976/0.8976, 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.2296/0.2296, allocations: 34.25 MB / 294.9 MB, free: 0.6992 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.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.634e-05, allocations: 4.531 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.173/0.173, allocations: 1.706 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1747, allocations: 1.67 MB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.1747, allocations: 0 / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.175, allocations: 38.56 kB / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.1752, allocations: 106.5 kB / 445.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.1753, allocations: 79.44 kB / 445.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1755, allocations: 112.4 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.1755, allocations: 14.14 kB / 446 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.1756, allocations: 59.72 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.1757, allocations: 42.73 kB / 446.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1757, allocations: 8.406 kB / 446.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1758, allocations: 102 kB / 446.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.1759, allocations: 31.27 kB / 446.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.1759, allocations: 23.64 kB / 446.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1761, allocations: 183.5 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1761, allocations: 0 / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1761, allocations: 0 / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1761, allocations: 3.75 kB / 446.4 MB, free: 42.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003866/0.1765, allocations: 372.7 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1766, allocations: 8.594 kB / 446.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.112e-05/0.1766, allocations: 36.56 kB / 446.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.1766, allocations: 13.47 kB / 446.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.1768, allocations: 146.9 kB / 447 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1768, allocations: 384 / 447 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1768, allocations: 7.812 kB / 447 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1769, allocations: 111.1 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1769, allocations: 1.312 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.177, allocations: 0 / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.177, allocations: 7.703 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.177, allocations: 35.77 kB / 447.2 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.1773, allocations: 275.9 kB / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1774, allocations: 69.02 kB / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.1774, allocations: 27.69 kB / 447.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.1774, allocations: 6.906 kB / 447.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9e-05/0.1775, allocations: 76.06 kB / 447.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1775, allocations: 0 / 447.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003831/0.1779, allocations: 209.3 kB / 447.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.1779, allocations: 81.05 kB / 447.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.178, allocations: 184.7 kB / 448.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.178, allocations: 25.7 kB / 448.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.178, allocations: 101.4 kB / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.1781, allocations: 34.5 kB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.1781, allocations: 26.38 kB / 448.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.718e-05/0.1781, allocations: 328.1 kB / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.1782, allocations: 29.81 kB / 448.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/0.1782, allocations: 77.33 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.427e-05/0.1783, allocations: 82.84 kB / 448.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1783, allocations: 0 / 448.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001067/0.1784, allocations: 120.5 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1784, allocations: 5.875 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1784, allocations: 0 / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1784, allocations: 3.234 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.1785, allocations: 20.03 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1785, allocations: 0 / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.1785, allocations: 6.109 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1785, allocations: 2.531 kB / 448.9 MB, free: 40.62 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 (11): * Single equations (assignments): 11 * 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.808e-05/0.1786, allocations: 134 kB / 449 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1786, allocations: 9.641 kB / 449 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.1787, allocations: 143.9 kB / 449.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1787, allocations: 0 / 449.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1787, allocations: 0 / 449.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1787, allocations: 2.906 kB / 449.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.179, allocations: 404.1 kB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.179, allocations: 3.938 kB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.179, allocations: 14.92 kB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.179, allocations: 4 kB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.179, allocations: 8.219 kB / 449.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.179, allocations: 0 / 449.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.179, allocations: 6.875 kB / 449.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.1792, allocations: 222 kB / 449.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.1792, allocations: 24.97 kB / 449.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1792, allocations: 6.844 kB / 449.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.119e-05/0.1792, allocations: 0 / 449.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.1793, allocations: 15.91 kB / 449.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1793, allocations: 6.938 kB / 449.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.1793, allocations: 136.9 kB / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1793, allocations: 288 / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.1795, allocations: 52.81 kB / 450.1 MB, free: 39.77 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.001041/0.1805, allocations: 1.259 MB / 451.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.1807, allocations: 79.94 kB / 451.4 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.1807, allocations: 0 / 451.4 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.296e-05/0.1807, allocations: 38.34 kB / 451.5 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.1809, allocations: 26.36 kB / 451.5 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009019/0.1818, allocations: 1.697 MB / 453.2 MB, free: 37.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.1819, allocations: 95.05 kB / 453.3 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.9e-05/0.1819, allocations: 23.44 kB / 453.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.182, allocations: 42.45 kB / 453.3 MB, free: 37.43 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.182, allocations: 3.938 kB / 453.3 MB, free: 37.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.1969, allocations: 5.114 MB / 458.4 MB, free: 35.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/6.849, allocations: 5.281 kB / 458.5 MB, free: 35.87 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.798883995972574]