Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0007818/0.0007818, 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.0007798/0.0007798, 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.8807/0.8807, 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.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.2331/0.2331, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.951e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/3.222e-05, allocations: 4.25 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.1644/0.1645, allocations: 1.659 MB / 443.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.1652, allocations: 0.5741 MB / 444.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.612e-05/0.1653, allocations: 0 / 444.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.1657, allocations: 460.7 kB / 444.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.166, allocations: 295.3 kB / 445.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1664, allocations: 176.2 kB / 445.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1666, allocations: 188.9 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1667, allocations: 14.8 kB / 445.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1668, allocations: 126.3 kB / 445.7 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.167, allocations: 250.6 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.167, allocations: 2.969 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.161e-05/0.1671, allocations: 57.78 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.1672, allocations: 88.39 kB / 446.1 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.1672, allocations: 38.81 kB / 446.1 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.1674, allocations: 271.2 kB / 446.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1674, allocations: 0 / 446.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1674, allocations: 0 / 446.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1674, allocations: 0 / 446.4 MB, free: 42.54 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.0004797/0.1679, allocations: 0.5976 MB / 447 MB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1679, allocations: 14.66 kB / 447 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.5e-05/0.168, allocations: 41.34 kB / 447 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.168, allocations: 44.91 kB / 447.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.1682, allocations: 248.1 kB / 447.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1682, allocations: 9.156 kB / 447.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1682, allocations: 3.312 kB / 447.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1684, allocations: 66.12 kB / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1684, allocations: 192 / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-06/0.1684, allocations: 10.69 kB / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1684, allocations: 2.938 kB / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.1685, allocations: 50.06 kB / 447.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.1688, allocations: 377.6 kB / 447.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.169, allocations: 57.95 kB / 447.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.169, allocations: 29.7 kB / 447.9 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1691, allocations: 7 kB / 447.9 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.669e-06/0.1691, allocations: 30.56 kB / 447.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.1691, allocations: 0 / 447.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008637/0.1699, allocations: 0.4932 MB / 448.4 MB, free: 41.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.17, allocations: 54.28 kB / 448.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.1704, allocations: 0.8742 MB / 449.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.577e-06/0.1704, allocations: 29.7 kB / 449.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.1705, allocations: 225.3 kB / 449.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1705, allocations: 44.42 kB / 449.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.1706, allocations: 30.94 kB / 449.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.1706, allocations: 359.7 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.1707, allocations: 54.95 kB / 450.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.1708, allocations: 53.59 kB / 450.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1709, allocations: 131 kB / 450.3 MB, free: 40.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1709, allocations: 0 / 450.3 MB, free: 40.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001976/0.1711, allocations: 201.1 kB / 450.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1711, allocations: 5.812 kB / 450.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1711, allocations: 0 / 450.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1711, allocations: 0 / 450.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.1712, allocations: 34.83 kB / 450.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.1712, allocations: 0 / 450.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.1713, allocations: 15.83 kB / 450.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1713, allocations: 6.344 kB / 450.5 MB, free: 40.57 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 0.0001106/0.1714, allocations: 217.6 kB / 450.7 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.1714, allocations: 42.66 kB / 450.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.1717, allocations: 232.6 kB / 451 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1717, allocations: 6.656 kB / 451 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1717, allocations: 0 / 451 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1717, allocations: 7.875 kB / 451 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.1721, allocations: 0.5602 MB / 451.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1721, allocations: 0 / 451.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.1722, allocations: 32 kB / 451.6 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1722, allocations: 8 kB / 451.6 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1722, allocations: 6.656 kB / 451.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1722, allocations: 2.844 kB / 451.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1722, allocations: 0 / 451.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.1724, allocations: 301.8 kB / 451.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.1724, allocations: 46.72 kB / 452 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1724, allocations: 0 / 452 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.907e-05/0.1725, allocations: 16.08 kB / 452 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.1725, allocations: 9.969 kB / 452 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-06/0.1725, allocations: 5.859 kB / 452 MB, free: 39.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000325/0.1728, allocations: 0.6604 MB / 452.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1728, allocations: 0 / 452.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.173, allocations: 37.11 kB / 452.7 MB, free: 39.45 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.0009792/0.174, allocations: 1.228 MB / 453.9 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1742, allocations: 125.7 kB / 454 MB, free: 38.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1742, allocations: 8 kB / 454.1 MB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.1743, allocations: 64.2 kB / 454.1 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1746, allocations: 32.45 kB / 454.1 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.1768, allocations: 3.567 MB / 457.7 MB, free: 36.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.1769, allocations: 234.1 kB / 457.9 MB, free: 36.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.728e-05/0.177, allocations: 37.47 kB / 458 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.219e-05/0.1771, allocations: 131.1 kB / 458.1 MB, free: 36.45 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1771, allocations: 0 / 458.1 MB, free: 36.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.1954, allocations: 7.357 MB / 465.5 MB, free: 34.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/6.874, allocations: 14.02 kB / 465.5 MB, free: 34.73 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.800907291471958]