Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.000806/0.000806, 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.0008541/0.0008541, allocations: 170 kB / 23.94 MB, free: 0.6172 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.8736/0.8736, 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.2435/0.2435, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.308e-05, allocations: 2.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.001842/0.001855, allocations: 1.611 MB / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1691/0.171, allocations: 0.5349 MB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.434e-05/0.171, allocations: 3.938 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.1713, allocations: 103 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.1715, allocations: 126.4 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1718, allocations: 113.5 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1719, allocations: 96.78 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.172, allocations: 12.98 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.1721, allocations: 49.36 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.1722, allocations: 69.5 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1722, allocations: 4.406 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.1723, allocations: 47.38 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.1723, allocations: 24.97 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.1723, allocations: 15.5 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1725, allocations: 120.9 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1725, allocations: 0 / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1725, allocations: 0 / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1725, allocations: 2.938 kB / 445.1 MB, free: 43.09 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.0003549/0.1729, allocations: 349.5 kB / 445.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1729, allocations: 8.594 kB / 445.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.1729, allocations: 36.59 kB / 445.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.173, allocations: 16.72 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1731, allocations: 147.4 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1731, allocations: 384 / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1731, allocations: 9.094 kB / 445.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1732, allocations: 60.44 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1733, allocations: 6.125 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1733, allocations: 3.938 kB / 445.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1733, allocations: 0 / 445.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.791e-05/0.1733, allocations: 29.62 kB / 445.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.1736, allocations: 278.2 kB / 446 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.1737, allocations: 48.11 kB / 446.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.1737, allocations: 17.53 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1737, allocations: 2.781 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.1737, allocations: 33.88 kB / 446.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1737, allocations: 0 / 446.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005849/0.1743, allocations: 246.4 kB / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.1743, allocations: 54.09 kB / 446.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1745, allocations: 252.1 kB / 446.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.1745, allocations: 29.14 kB / 446.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.1745, allocations: 106.8 kB / 446.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.1745, allocations: 29.48 kB / 446.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.1746, allocations: 25.16 kB / 446.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.091e-05/0.1746, allocations: 331.8 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.1746, allocations: 31.42 kB / 447.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.1747, allocations: 33.98 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.028e-05/0.1748, allocations: 70.72 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1748, allocations: 0 / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001168/0.1749, allocations: 118.5 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1749, allocations: 4.312 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1749, allocations: 2.938 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1749, allocations: 2.062 kB / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.175, allocations: 19.64 kB / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.175, allocations: 3.938 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.175, allocations: 5.828 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.175, allocations: 2.781 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.375e-05/0.1751, allocations: 145.9 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.1751, allocations: 13.91 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.1752, allocations: 133.6 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1752, allocations: 2.719 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1752, allocations: 0 / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1753, allocations: 0 / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.1756, allocations: 388 kB / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1756, allocations: 6.938 kB / 448.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.1756, allocations: 22.64 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1756, allocations: 5.781 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1756, allocations: 0 / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1756, allocations: 6.75 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1756, allocations: 0 / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.1757, allocations: 215.4 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.1757, allocations: 13.25 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1757, allocations: 0 / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.1758, allocations: 23.08 kB / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.1758, allocations: 12.97 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.1758, allocations: 0 / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.736e-05/0.1759, allocations: 191.5 kB / 448.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1759, allocations: 0 / 448.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001658/0.1761, allocations: 18.16 kB / 448.7 MB, free: 40.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009603/0.177, allocations: 1.126 MB / 449.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1772, allocations: 79.78 kB / 449.9 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1772, allocations: 0 / 449.9 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.311e-05/0.1772, allocations: 41.19 kB / 449.9 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1775, allocations: 25.78 kB / 449.9 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1785, allocations: 1.807 MB / 451.7 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.1785, allocations: 101.1 kB / 451.8 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.177e-05/0.1786, allocations: 25.88 kB / 451.9 MB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.1786, allocations: 37.22 kB / 451.9 MB, free: 38.51 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1786, allocations: 0 / 451.9 MB, free: 38.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.1948, allocations: 4.026 MB / 455.9 MB, free: 37.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.484/6.678, allocations: 18.67 kB / 455.9 MB, free: 37.13 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.588516855612397]