Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001499/0.001499, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001518/0.001518, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.556/1.556, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.2214/0.2214, allocations: 44.92 MB / 359.6 MB, free: 6.281 MB / 286.1 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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 68.08 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3528, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003139/0.3559, allocations: 1.669 MB / 0.5594 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3571, allocations: 0.5815 MB / 0.56 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.3571, allocations: 0 / 0.56 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.3577, allocations: 443.2 kB / 0.5604 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004837/0.3582, allocations: 299.3 kB / 0.5607 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3585, allocations: 135.4 kB / 0.5608 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.3588, allocations: 167.6 kB / 0.561 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3589, allocations: 17.81 kB / 0.561 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.359, allocations: 111.7 kB / 0.5611 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.3593, allocations: 247.5 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3593, allocations: 4 kB / 0.5614 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.93e-05/0.3594, allocations: 35.98 kB / 0.5614 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3595, allocations: 87.62 kB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.794e-05/0.3596, allocations: 103 kB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.36, allocations: 258.6 kB / 0.5618 GB, free: 3.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.36, allocations: 3.938 kB / 0.5618 GB, free: 3.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.36, allocations: 0 / 0.5618 GB, free: 3.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.36, allocations: 0 / 0.5618 GB, free: 3.648 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000768/0.3607, allocations: 0.5932 MB / 0.5624 GB, free: 3.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3608, allocations: 8.031 kB / 0.5624 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.601e-05/0.3608, allocations: 4.188 kB / 0.5624 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.3608, allocations: 30.75 kB / 0.5625 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.3609, allocations: 48.61 kB / 0.5625 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.3612, allocations: 242.7 kB / 0.5627 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3612, allocations: 8.375 kB / 0.5627 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.3612, allocations: 4.125 kB / 0.5627 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3614, allocations: 61.66 kB / 0.5628 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3614, allocations: 0 / 0.5628 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.3614, allocations: 4 kB / 0.5628 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3614, allocations: 0 / 0.5628 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.204e-05/0.3615, allocations: 19.98 kB / 0.5628 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.362, allocations: 367.6 kB / 0.5632 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.3622, allocations: 46.56 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.3622, allocations: 12.86 kB / 0.5632 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3623, allocations: 4.078 kB / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3623, allocations: 30.56 kB / 0.5633 GB, free: 2.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3623, allocations: 0 / 0.5633 GB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006386/0.3629, allocations: 236.7 kB / 0.5635 GB, free: 1.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.363, allocations: 55.41 kB / 0.5635 GB, free: 1.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/0.3639, allocations: 0.8698 MB / 0.5644 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3639, allocations: 37.64 kB / 0.5644 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.3641, allocations: 228 kB / 0.5646 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.3642, allocations: 15.84 kB / 0.5647 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.3642, allocations: 17.72 kB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3644, allocations: 366.7 kB / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.3645, allocations: 23.98 kB / 0.565 GB, free: 164 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.3645, allocations: 16.05 kB / 0.5651 GB, free: 148 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3647, allocations: 48.83 kB / 0.5651 GB, free: 96 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3647, allocations: 0 / 0.5651 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000249/0.3649, allocations: 117.3 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3649, allocations: 4 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3649, allocations: 8 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3649, allocations: 0 / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.365, allocations: 15.92 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.365, allocations: 3.938 kB / 0.5653 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.3651, allocations: 8 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3651, allocations: 7.984 kB / 0.5653 GB, free: 15.93 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 (5): * Single equations (assignments): 5 * 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.0001998/0.3653, allocations: 205.8 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.3654, allocations: 43.72 kB / 0.5655 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.3657, allocations: 141.2 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3657, allocations: 0 / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3657, allocations: 3.938 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3657, allocations: 288 / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.3663, allocations: 441.5 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3663, allocations: 0 / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.3663, allocations: 12.31 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3663, allocations: 7.922 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3663, allocations: 8 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3663, allocations: 3.984 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3663, allocations: 0 / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.3666, allocations: 215.1 kB / 0.5663 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.3667, allocations: 35.7 kB / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.3667, allocations: 15.94 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.3668, allocations: 0 / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.3668, allocations: 7.984 kB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3668, allocations: 0 / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006915/0.3675, allocations: 0.6589 MB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3675, allocations: 0 / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.3678, allocations: 27.94 kB / 0.567 GB, free: 14.04 MB / 414.1 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 (5): * Single equations (assignments): 5 * 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.002046/0.3699, allocations: 1.049 MB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.3701, allocations: 47.95 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3701, allocations: 0 / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.328e-05/0.3701, allocations: 27.98 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.3705, allocations: 29.88 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.3745, allocations: 3.244 MB / 0.5713 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.375, allocations: 0.822 MB / 0.5721 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.3751, allocations: 12 kB / 0.5721 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3752, allocations: 107.4 kB / 0.5722 GB, free: 8.715 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3752, allocations: 0 / 0.5722 GB, free: 8.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.4032, allocations: 6.248 MB / 0.5783 GB, free: 2.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.31, allocations: 10.47 kB / 0.5784 GB, free: 2.543 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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: 15.61689916998148]