Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0008108/0.0008108, 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.0009821/0.0009821, allocations: 174 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.8974/0.8974, allocations: 177.1 MB / 204.2 MB, free: 5.719 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.2339/0.2339, allocations: 34.25 MB / 294.9 MB, free: 0.7344 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035e-05/1.172e-05, allocations: 2.844 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.155/0.155, allocations: 1.648 MB / 443.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007183/0.1557, allocations: 0.561 MB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.1558, allocations: 2.875 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.1561, allocations: 462.9 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.1564, allocations: 296.2 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1566, allocations: 181.1 kB / 445.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1568, allocations: 182.3 kB / 445.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.1569, allocations: 15.5 kB / 445.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.157, allocations: 119.2 kB / 445.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1572, allocations: 244.4 kB / 445.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1572, allocations: 2.75 kB / 445.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.1572, allocations: 37.16 kB / 445.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.1573, allocations: 93.2 kB / 446 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.1574, allocations: 40.55 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1576, allocations: 250.8 kB / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1576, allocations: 0 / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1576, allocations: 0 / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1576, allocations: 6.844 kB / 446.3 MB, free: 43.04 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.0004452/0.158, allocations: 0.5908 MB / 446.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.158, allocations: 11 kB / 446.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.011e-05/0.1581, allocations: 33.69 kB / 446.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1581, allocations: 41.78 kB / 447 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1582, allocations: 253.5 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.1582, allocations: 7.125 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1583, allocations: 6.656 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.1584, allocations: 63.59 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.1584, allocations: 2.969 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.1584, allocations: 3.938 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.1584, allocations: 0 / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.899e-05/0.1585, allocations: 43.69 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.1588, allocations: 377.4 kB / 447.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.702e-05/0.1588, allocations: 50.08 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.1589, allocations: 26.67 kB / 447.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1589, allocations: 0 / 447.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.1589, allocations: 33.56 kB / 447.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1589, allocations: 0 / 447.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005075/0.1594, allocations: 324.6 kB / 448.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.1594, allocations: 51.41 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.1599, allocations: 0.8704 MB / 449.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.1599, allocations: 29.7 kB / 449.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.16, allocations: 218 kB / 449.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.16, allocations: 22.61 kB / 449.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.16, allocations: 22.53 kB / 449.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.1601, allocations: 371.5 kB / 449.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.1601, allocations: 37.67 kB / 449.7 MB, free: 41.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/0.1602, allocations: 44.47 kB / 449.8 MB, free: 41.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1603, allocations: 89.59 kB / 449.9 MB, free: 41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1603, allocations: 0 / 449.9 MB, free: 41 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001524/0.1604, allocations: 160.2 kB / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.1604, allocations: 5.125 kB / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1604, allocations: 0 / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1605, allocations: 0 / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.1605, allocations: 17.33 kB / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1605, allocations: 2.719 kB / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.1606, allocations: 10.78 kB / 450.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1606, allocations: 10.84 kB / 450.1 MB, free: 40.92 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 (7): * Single equations (assignments): 7 * 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 9.251e-05/0.1607, allocations: 224.4 kB / 450.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1607, allocations: 45.11 kB / 450.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.1609, allocations: 179.9 kB / 450.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1609, allocations: 0 / 450.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1609, allocations: 3.281 kB / 450.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1609, allocations: 2.578 kB / 450.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.1612, allocations: 497.4 kB / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1612, allocations: 0 / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.1612, allocations: 20.91 kB / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1612, allocations: 0 / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1612, allocations: 2.875 kB / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1612, allocations: 1.312 kB / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1612, allocations: 3.938 kB / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.1614, allocations: 264.4 kB / 451.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.1614, allocations: 35.83 kB / 451.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1614, allocations: 2.906 kB / 451.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.1615, allocations: 12.97 kB / 451.3 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.1615, allocations: 10.11 kB / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1615, allocations: 0 / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002903/0.1618, allocations: 0.6627 MB / 452 MB, free: 39.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1618, allocations: 2.25 kB / 452 MB, free: 39.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.162, allocations: 29.97 kB / 452 MB, free: 39.87 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 (7): * Single equations (assignments): 7 * 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.0008094/0.1628, allocations: 1.118 MB / 453.2 MB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.1629, allocations: 85.31 kB / 453.2 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.1629, allocations: 0 / 453.2 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/0.163, allocations: 50.45 kB / 453.3 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.1633, allocations: 37.62 kB / 453.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1652, allocations: 3.381 MB / 456.7 MB, free: 37.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.1653, allocations: 226.5 kB / 456.9 MB, free: 37.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.42e-05/0.1653, allocations: 24.98 kB / 457 MB, free: 37.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.1654, allocations: 123.8 kB / 457.1 MB, free: 37.05 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1654, allocations: 0 / 457.1 MB, free: 37.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.1818, allocations: 6.935 MB / 464 MB, free: 35.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.861, allocations: 13.97 kB / 464 MB, free: 35.37 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.794497440569103]