Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.0009347/0.0009347, 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.0009055/0.0009055, 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.8691/0.8691, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2152/0.2152, allocations: 34.25 MB / 294.9 MB, free: 0.7266 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.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.223e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.1531/0.1531, allocations: 1.67 MB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006864/0.1538, allocations: 0.5354 MB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.1538, allocations: 2.969 kB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.154, allocations: 76.09 kB / 444.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1543, allocations: 108.8 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1545, allocations: 135.8 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1546, allocations: 89.47 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.1547, allocations: 12.7 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.1548, allocations: 52.8 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.1549, allocations: 50.03 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1549, allocations: 7.375 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.155, allocations: 52.86 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.155, allocations: 31.05 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.155, allocations: 17 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1552, allocations: 130 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1552, allocations: 0 / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1552, allocations: 0 / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1552, allocations: 3.156 kB / 445.2 MB, free: 43.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003308/0.1556, allocations: 356.2 kB / 445.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1556, allocations: 10.66 kB / 445.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.22e-05/0.1556, allocations: 34.22 kB / 445.6 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1556, allocations: 10.86 kB / 445.6 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1558, allocations: 153.8 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.1558, allocations: 3.562 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.1558, allocations: 5.656 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1559, allocations: 67 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1559, allocations: 192 / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.1559, allocations: 10.44 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1559, allocations: 0 / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.156, allocations: 39.66 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.1562, allocations: 283.5 kB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1564, allocations: 52.11 kB / 446.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.1564, allocations: 23.55 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1564, allocations: 0.5 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.1565, allocations: 37.34 kB / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1565, allocations: 0.75 kB / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007932/0.1572, allocations: 407.1 kB / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.1573, allocations: 51.41 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1574, allocations: 224.2 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.1574, allocations: 28.77 kB / 446.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.1574, allocations: 104.4 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.1575, allocations: 45.44 kB / 447.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.1575, allocations: 22.09 kB / 447.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.305e-05/0.1575, allocations: 333.4 kB / 447.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.1576, allocations: 36.11 kB / 447.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.1576, allocations: 45.64 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1578, allocations: 105.2 kB / 447.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1578, allocations: 2.625 kB / 447.6 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001552/0.1579, allocations: 145.5 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1579, allocations: 5.375 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1579, allocations: 3.234 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1579, allocations: 0 / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.158, allocations: 26.06 kB / 447.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.158, allocations: 4 kB / 447.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.158, allocations: 15.38 kB / 447.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1581, allocations: 6.406 kB / 447.8 MB, free: 41.45 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 (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 5.037e-05/0.1581, allocations: 129.4 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.1581, allocations: 9.234 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.1583, allocations: 178.3 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1583, allocations: 3.031 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1583, allocations: 4 kB / 448.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.1583, allocations: 3.938 kB / 448.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.1587, allocations: 435 kB / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1587, allocations: 0 / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.1587, allocations: 31.31 kB / 448.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1587, allocations: 10.17 kB / 448.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1587, allocations: 6.125 kB / 448.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1587, allocations: 2.656 kB / 448.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1587, allocations: 3.938 kB / 448.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.1589, allocations: 250.8 kB / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.1589, allocations: 18.62 kB / 448.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.1589, allocations: 5.922 kB / 448.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.1589, allocations: 8.719 kB / 448.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.159, allocations: 17.05 kB / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.159, allocations: 2.875 kB / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.478e-05/0.159, allocations: 161.9 kB / 449.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.159, allocations: 0 / 449.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000167/0.1592, allocations: 23.95 kB / 449.1 MB, free: 40.68 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0009261/0.1601, allocations: 1.171 MB / 450.2 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.1603, allocations: 110.4 kB / 450.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1603, allocations: 0 / 450.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.373e-05/0.1604, allocations: 58.2 kB / 450.4 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.1606, allocations: 16.88 kB / 450.4 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1618, allocations: 1.896 MB / 452.3 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.1618, allocations: 99.09 kB / 452.4 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.867e-05/0.1619, allocations: 20.34 kB / 452.4 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.1619, allocations: 43.97 kB / 452.5 MB, free: 38.3 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1619, allocations: 0 / 452.5 MB, free: 38.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.1753, allocations: 4.218 MB / 456.7 MB, free: 36.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.658/6.833, allocations: 2.719 kB / 456.7 MB, free: 36.92 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.68222974985838]