Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0008212/0.0008212, 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.001055/0.001055, 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.8746/0.8746, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2562/0.2562, 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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.769e-05, allocations: 4.812 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002124/0.002142, allocations: 1.611 MB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1717/0.1738, allocations: 0.5203 MB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.1739, allocations: 2.906 kB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.1742, allocations: 124.5 kB / 444.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.1744, allocations: 126.6 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.1746, allocations: 96.95 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1748, allocations: 100.1 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1749, allocations: 15.56 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.1749, allocations: 55.31 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.175, allocations: 89.88 kB / 444.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1751, allocations: 4.438 kB / 444.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-05/0.1751, allocations: 51.28 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.1752, allocations: 27.19 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1752, allocations: 17.41 kB / 445 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1754, allocations: 115.7 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1754, allocations: 2.625 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1754, allocations: 0 / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1754, allocations: 2.031 kB / 445.1 MB, free: 43.16 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.0003565/0.1757, allocations: 367.2 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1758, allocations: 8.156 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.645e-05/0.1758, allocations: 33.5 kB / 445.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.1758, allocations: 16.56 kB / 445.6 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.176, allocations: 160.5 kB / 445.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.176, allocations: 384 / 445.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.176, allocations: 7.062 kB / 445.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1761, allocations: 52.72 kB / 445.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1761, allocations: 8.297 kB / 445.8 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1761, allocations: 7.312 kB / 445.8 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1761, allocations: 6.625 kB / 445.8 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.841e-05/0.1762, allocations: 21.98 kB / 445.8 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.1765, allocations: 275.8 kB / 446.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.445e-05/0.1765, allocations: 39 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.1766, allocations: 17.73 kB / 446.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1766, allocations: 2.562 kB / 446.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.1766, allocations: 30.56 kB / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1766, allocations: 0 / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005739/0.1772, allocations: 236.6 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.1772, allocations: 58.62 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1774, allocations: 277.6 kB / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.1774, allocations: 29.02 kB / 446.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.1774, allocations: 118.5 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.1775, allocations: 26.56 kB / 446.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.1775, allocations: 22.73 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.1775, allocations: 330.8 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.1776, allocations: 28.47 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.1776, allocations: 21.55 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.1777, allocations: 63.84 kB / 447.4 MB, free: 41.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1777, allocations: 0 / 447.4 MB, free: 41.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000116/0.1778, allocations: 103.4 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1778, allocations: 12.97 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1778, allocations: 0.7812 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1779, allocations: 6.812 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.1779, allocations: 17.92 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1779, allocations: 0 / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.1779, allocations: 2.875 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.178, allocations: 6.375 kB / 447.5 MB, free: 41.54 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.659e-05/0.178, allocations: 143.4 kB / 447.6 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.178, allocations: 13.81 kB / 447.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.1782, allocations: 121.9 kB / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1782, allocations: 4 kB / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1782, allocations: 2.969 kB / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1782, allocations: 0 / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.1785, allocations: 379.4 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1785, allocations: 2.938 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.1785, allocations: 18.83 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1785, allocations: 2.875 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1785, allocations: 0 / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1785, allocations: 10.81 kB / 448.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1785, allocations: 0 / 448.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.1787, allocations: 209.4 kB / 448.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.1787, allocations: 13.84 kB / 448.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1787, allocations: 2.906 kB / 448.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.1787, allocations: 9.938 kB / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.1787, allocations: 6.156 kB / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.1787, allocations: 6.844 kB / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.398e-05/0.1788, allocations: 211.6 kB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1788, allocations: 4 kB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.1791, allocations: 21.94 kB / 448.7 MB, free: 40.84 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.0009743/0.18, allocations: 1.122 MB / 449.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.1802, allocations: 65.41 kB / 449.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1802, allocations: 0 / 449.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.1802, allocations: 31.8 kB / 449.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1805, allocations: 26.19 kB / 449.9 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1822, allocations: 1.82 MB / 451.7 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.948e-05/0.1823, allocations: 108.4 kB / 451.8 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.09e-05/0.1824, allocations: 15.5 kB / 451.9 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.1824, allocations: 37.5 kB / 451.9 MB, free: 38.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1824, allocations: 0 / 451.9 MB, free: 38.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.1983, allocations: 4.089 MB / 456 MB, free: 37.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.656/6.854, allocations: 11.66 kB / 456 MB, free: 37.16 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.780539503321052]