Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0008914/0.0008914, 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.0009304/0.0009304, allocations: 170 kB / 23.95 MB, free: 0.6133 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.882/0.882, 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.2432/0.2432, allocations: 34.25 MB / 294.9 MB, free: 0.707 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.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.07e-05, allocations: 2.281 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002083/0.002104, allocations: 1.611 MB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1622/0.1643, allocations: 1.238 MB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.1644, allocations: 3.938 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.1646, allocations: 24.33 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.1649, allocations: 92.42 kB / 445.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.1651, allocations: 90.31 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1652, allocations: 77.22 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1654, allocations: 18.94 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.1655, allocations: 39.58 kB / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.1656, allocations: 30.86 kB / 445.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1656, allocations: 5.75 kB / 445.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1657, allocations: 84.31 kB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.1657, allocations: 23.73 kB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.1658, allocations: 16.44 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.166, allocations: 152.2 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.166, allocations: 2.062 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.166, allocations: 1.5 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.166, allocations: 0 / 445.7 MB, free: 43.01 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003675/0.1663, allocations: 337.9 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1664, allocations: 9.094 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.194e-05/0.1664, allocations: 43.34 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.1664, allocations: 11.94 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1666, allocations: 133.1 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.1666, allocations: 7.375 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.1666, allocations: 3.5 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1667, allocations: 98.03 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1667, allocations: 0.75 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1667, allocations: 12.52 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1667, allocations: 3.094 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.1668, allocations: 32.33 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.1671, allocations: 264.2 kB / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.1671, allocations: 49.48 kB / 446.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.1672, allocations: 20.53 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1672, allocations: 6.844 kB / 446.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.1672, allocations: 38.5 kB / 446.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1672, allocations: 0.625 kB / 446.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004218/0.1676, allocations: 174.7 kB / 446.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.1677, allocations: 84.05 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1678, allocations: 152.8 kB / 447.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.1678, allocations: 25.7 kB / 447.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.1678, allocations: 98.3 kB / 447.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.1678, allocations: 30.02 kB / 447.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.1678, allocations: 22.19 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.898e-05/0.1679, allocations: 325 kB / 447.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.195e-05/0.1679, allocations: 28.36 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.586e-05/0.1679, allocations: 63.69 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.866e-05/0.168, allocations: 65.05 kB / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.168, allocations: 0 / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001118/0.1681, allocations: 101.1 kB / 447.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1682, allocations: 5 kB / 447.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1682, allocations: 3.031 kB / 447.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1682, allocations: 0 / 447.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.1682, allocations: 14.83 kB / 447.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1683, allocations: 7 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.1683, allocations: 6.281 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1683, allocations: 2.969 kB / 447.9 MB, free: 41.12 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 4.871e-05/0.1683, allocations: 121.8 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.1684, allocations: 12.08 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.1685, allocations: 117 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1685, allocations: 0 / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1685, allocations: 4.062 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1685, allocations: 4 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.1688, allocations: 363.6 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1688, allocations: 3.562 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.1689, allocations: 17.39 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1689, allocations: 0 / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1689, allocations: 0 / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1689, allocations: 3.938 kB / 448.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1689, allocations: 6.75 kB / 448.6 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.169, allocations: 199.6 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-06/0.169, allocations: 10.42 kB / 448.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.169, allocations: 0 / 448.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.169, allocations: 9.953 kB / 448.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.1691, allocations: 9.812 kB / 448.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1691, allocations: 10.56 kB / 448.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.697e-05/0.1691, allocations: 119.9 kB / 448.9 MB, free: 40.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1691, allocations: 0 / 448.9 MB, free: 40.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.1693, allocations: 36.03 kB / 448.9 MB, free: 40.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001074/0.1704, allocations: 1.169 MB / 450.1 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.1706, allocations: 63.45 kB / 450.2 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1706, allocations: 0 / 450.2 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.1706, allocations: 30.02 kB / 450.2 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.1709, allocations: 21.86 kB / 450.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1719, allocations: 1.505 MB / 451.7 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.574e-05/0.172, allocations: 79.75 kB / 451.8 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.941e-05/0.172, allocations: 19.14 kB / 451.8 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.1721, allocations: 39.59 kB / 451.9 MB, free: 38.16 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1721, allocations: 4 kB / 451.9 MB, free: 38.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.1886, allocations: 4.165 MB / 456 MB, free: 36.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/6.867, allocations: 17.22 kB / 456.1 MB, free: 36.68 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.796331770718098]