Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.001358/0.001358, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001412/0.001412, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.2357/0.2357, allocations: 46.93 MB / 360.9 MB, free: 4.285 MB / 286.1 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.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 0.4962 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3444, allocations: 66.03 MB / 0.5607 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003157/0.3475, allocations: 1.703 MB / 0.5623 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3486, allocations: 0.5621 MB / 0.5629 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.3486, allocations: 4 kB / 0.5629 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.3488, allocations: 59.72 kB / 0.5629 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.3491, allocations: 107.6 kB / 0.563 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.3495, allocations: 127.4 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3497, allocations: 95.73 kB / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.3497, allocations: 10.06 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.3498, allocations: 43.83 kB / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.3499, allocations: 51.83 kB / 0.5634 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3499, allocations: 4 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3501, allocations: 51.97 kB / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.3501, allocations: 23.86 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.3502, allocations: 43.67 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.3504, allocations: 111.5 kB / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3504, allocations: 0 / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3504, allocations: 0 / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3504, allocations: 4 kB / 0.5636 GB, free: 1.348 MB / 398.1 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.0005236/0.3509, allocations: 349.6 kB / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.351, allocations: 12.02 kB / 0.5639 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.351, allocations: 30.75 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.351, allocations: 16.84 kB / 0.564 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.3512, allocations: 154.2 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3512, allocations: 384 / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3512, allocations: 4.375 kB / 0.5641 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3514, allocations: 65.61 kB / 0.5642 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3514, allocations: 7.922 kB / 0.5642 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3514, allocations: 4 kB / 0.5642 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3514, allocations: 4 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3516, allocations: 39.89 kB / 0.5642 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.352, allocations: 279.8 kB / 0.5645 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3522, allocations: 58.59 kB / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.3523, allocations: 24.83 kB / 0.5646 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3523, allocations: 8.062 kB / 0.5646 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3523, allocations: 30.56 kB / 0.5646 GB, free: 152 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3523, allocations: 0 / 0.5646 GB, free: 152 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001514/0.3539, allocations: 401.4 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3539, allocations: 55.41 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.3541, allocations: 195.2 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3541, allocations: 25.7 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.3542, allocations: 108.1 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.3543, allocations: 35.7 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.3543, allocations: 25.7 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3545, allocations: 326.8 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3546, allocations: 43.91 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3547, allocations: 43.91 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.355, allocations: 109.2 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.355, allocations: 4 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003267/0.3553, allocations: 141.5 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3553, allocations: 4 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3554, allocations: 0 / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3554, allocations: 11.88 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3555, allocations: 35.91 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3555, allocations: 0 / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.3556, allocations: 11.98 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3556, allocations: 0 / 0.5661 GB, free: 14.54 MB / 414.1 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.0001198/0.3557, allocations: 125.8 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.3557, allocations: 11.91 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.3561, allocations: 167 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3562, allocations: 3.938 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.3562, allocations: 3.984 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3562, allocations: 4 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.3568, allocations: 439.1 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3568, allocations: 0 / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.357, allocations: 35.91 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.357, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.357, allocations: 7.938 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.357, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.357, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.3574, allocations: 265.1 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.3574, allocations: 11.91 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3574, allocations: 4 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3575, allocations: 11.98 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.3576, allocations: 11.98 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.3576, allocations: 4 kB / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.3577, allocations: 153.8 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3577, allocations: 0 / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.358, allocations: 27.92 kB / 0.5674 GB, free: 13.18 MB / 414.1 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.002311/0.3603, allocations: 1.148 MB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.3606, allocations: 103.8 kB / 0.5686 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3606, allocations: 0 / 0.5686 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3608, allocations: 55.89 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.3612, allocations: 16 kB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.3636, allocations: 1.839 MB / 0.5705 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.364, allocations: 0.708 MB / 0.5711 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.3641, allocations: 20.48 kB / 0.5712 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.119e-05/0.3641, allocations: 35.42 kB / 0.5712 GB, free: 9.301 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3641, allocations: 0 / 0.5712 GB, free: 9.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.3942, allocations: 3.565 MB / 0.5747 GB, free: 5.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.69, allocations: 2.406 kB / 0.5747 GB, free: 5.789 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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: 14.669838829897344]