Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.0008306/0.0008306, allocations: 79.69 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.0009077/0.0009077, 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.8767/0.8767, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.687e-06/3.687e-06, allocations: 4 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.242e-05, allocations: 5.094 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002896/0.002919, allocations: 1.673 MB / 441.3 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003924, allocations: 0.5646 MB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.00399, allocations: 0 / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.004248, allocations: 51.8 kB / 441.9 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.004567, allocations: 91.55 kB / 442 MB, free: 1.848 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.004984, allocations: 186.5 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.00516, allocations: 95.69 kB / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.005273, allocations: 20.2 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.005358, allocations: 43.84 kB / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.514e-05/0.005453, allocations: 35.95 kB / 442.4 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.005471, allocations: 11.88 kB / 442.4 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.005564, allocations: 51.91 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.00562, allocations: 23.91 kB / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.00565, allocations: 19.94 kB / 442.5 MB, free: 1.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.005804, allocations: 115.5 kB / 442.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005807, allocations: 0 / 442.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005808, allocations: 4 kB / 442.6 MB, free: 1.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.005813, allocations: 0 / 442.6 MB, free: 1.254 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.000385/0.006198, allocations: 353.5 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.006231, allocations: 12.03 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.693e-05/0.006258, allocations: 30.75 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.006286, allocations: 12.84 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.00642, allocations: 150.2 kB / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.006428, allocations: 384 / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.006446, allocations: 4.375 kB / 443.1 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.006571, allocations: 70.16 kB / 443.2 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006581, allocations: 8.188 kB / 443.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.006591, allocations: 7.922 kB / 443.2 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.006595, allocations: 0 / 443.2 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.349e-05/0.006678, allocations: 47.95 kB / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.006992, allocations: 283.8 kB / 443.5 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.00716, allocations: 54.55 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.007204, allocations: 32.95 kB / 443.6 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.007221, allocations: 0 / 443.6 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.007237, allocations: 34.56 kB / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.007238, allocations: 0 / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.145/0.1522, allocations: 419.5 kB / 444.1 MB, free: 46.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.1522, allocations: 57.09 kB / 444.1 MB, free: 46.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1524, allocations: 186.7 kB / 444.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.1524, allocations: 26.52 kB / 444.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.1524, allocations: 108.8 kB / 444.4 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.1524, allocations: 39.92 kB / 444.5 MB, free: 46.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.1525, allocations: 30.66 kB / 444.5 MB, free: 46.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.891e-05/0.1525, allocations: 323.8 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.1526, allocations: 53.97 kB / 444.9 MB, free: 45.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.1526, allocations: 55.48 kB / 444.9 MB, free: 45.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1528, allocations: 123.2 kB / 445 MB, free: 45.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1528, allocations: 6.719 kB / 445.1 MB, free: 45.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001731/0.1529, allocations: 164.4 kB / 445.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.153, allocations: 6.438 kB / 445.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.153, allocations: 0 / 445.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.153, allocations: 1.312 kB / 445.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.153, allocations: 27.56 kB / 445.2 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1531, allocations: 10.3 kB / 445.3 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.1531, allocations: 13.42 kB / 445.3 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1531, allocations: 2.938 kB / 445.3 MB, free: 45.81 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 4.998e-05/0.1531, allocations: 132.6 kB / 445.4 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.1532, allocations: 10.23 kB / 445.4 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.1534, allocations: 189.5 kB / 445.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1534, allocations: 2.25 kB / 445.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1534, allocations: 6.031 kB / 445.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1534, allocations: 0 / 445.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.1538, allocations: 477 kB / 446.1 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1538, allocations: 0 / 446.1 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.1538, allocations: 29.25 kB / 446.1 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1538, allocations: 0 / 446.1 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1539, allocations: 2.938 kB / 446.1 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1539, allocations: 3.125 kB / 446.1 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1539, allocations: 6.562 kB / 446.1 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.154, allocations: 278.9 kB / 446.4 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.154, allocations: 9.047 kB / 446.4 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1541, allocations: 4 kB / 446.4 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.1541, allocations: 15.39 kB / 446.4 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.1541, allocations: 13.64 kB / 446.4 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1542, allocations: 6.875 kB / 446.4 MB, free: 45.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.1542, allocations: 139.3 kB / 446.6 MB, free: 45.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1542, allocations: 0 / 446.6 MB, free: 45.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.1544, allocations: 28.44 kB / 446.6 MB, free: 45.03 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.0009234/0.1553, allocations: 1.19 MB / 447.8 MB, free: 44.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1555, allocations: 128.2 kB / 447.9 MB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1555, allocations: 2.312 kB / 447.9 MB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.1556, allocations: 64.16 kB / 448 MB, free: 44.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.1559, allocations: 26.17 kB / 448 MB, free: 44.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.157, allocations: 1.892 MB / 449.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.286e-05/0.1571, allocations: 108.1 kB / 450 MB, free: 42.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.893e-05/0.1571, allocations: 29.8 kB / 450 MB, free: 42.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.1572, allocations: 48.33 kB / 450.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1572, allocations: 0 / 450.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.1724, allocations: 4.186 MB / 454.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.757/6.93, allocations: 3.438 kB / 454.3 MB, free: 41.31 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.830994090996683]