Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.001835/0.001835, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002125/0.002125, allocations: 213.5 kB / 23.73 MB, free: 4.16 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2379/0.2379, allocations: 44.93 MB / 358.8 MB, free: 6.043 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",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.00229/0.00229, allocations: 63.91 kB / 0.493 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3664, allocations: 65.47 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003757/0.3701, allocations: 1.874 MB / 0.5588 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.3721, allocations: 0.9556 MB / 0.5597 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3723, allocations: 4 kB / 0.5597 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.3728, allocations: 251.2 kB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006517/0.3734, allocations: 271 kB / 0.5602 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3746, allocations: 473.4 kB / 0.5607 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004463/0.375, allocations: 311.1 kB / 0.561 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3752, allocations: 34.69 kB / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.3754, allocations: 135.4 kB / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.3756, allocations: 211.2 kB / 0.5614 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.3757, allocations: 8 kB / 0.5614 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.3758, allocations: 55.92 kB / 0.5614 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.3759, allocations: 83.67 kB / 0.5615 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.957e-05/0.376, allocations: 91.2 kB / 0.5616 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.3765, allocations: 310.4 kB / 0.5619 GB, free: 2.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3765, allocations: 0 / 0.5619 GB, free: 2.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3765, allocations: 0 / 0.5619 GB, free: 2.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.3765, allocations: 4 kB / 0.5619 GB, free: 2.512 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009357/0.3774, allocations: 0.5894 MB / 0.5625 GB, free: 1.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3775, allocations: 8.031 kB / 0.5625 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/0.3776, allocations: 42.73 kB / 0.5625 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.3777, allocations: 40.66 kB / 0.5625 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.3782, allocations: 276.6 kB / 0.5628 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3782, allocations: 4.375 kB / 0.5628 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.3782, allocations: 8.375 kB / 0.5628 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.3784, allocations: 81.59 kB / 0.5629 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3784, allocations: 3.938 kB / 0.5629 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3784, allocations: 8 kB / 0.5629 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3784, allocations: 0 / 0.5629 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3786, allocations: 51.91 kB / 0.563 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.3793, allocations: 411.6 kB / 0.5633 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3794, allocations: 50.5 kB / 0.5634 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.3795, allocations: 28.97 kB / 0.5634 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.3795, allocations: 7.984 kB / 0.5634 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3796, allocations: 30.56 kB / 0.5635 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3796, allocations: 4 kB / 0.5635 GB, free: 0.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003767/0.38, allocations: 129.4 kB / 0.5636 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.38, allocations: 55.34 kB / 0.5636 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/0.3808, allocations: 0.5955 MB / 0.5642 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3808, allocations: 25.7 kB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.381, allocations: 204.1 kB / 0.5644 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.381, allocations: 27.83 kB / 0.5645 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.3811, allocations: 17.72 kB / 0.5645 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3813, allocations: 354.8 kB / 0.5648 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.3814, allocations: 23.98 kB / 0.5648 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.866e-05/0.3814, allocations: 23.92 kB / 0.5649 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3815, allocations: 48.84 kB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3815, allocations: 0 / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002275/0.3818, allocations: 109.4 kB / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3818, allocations: 4 kB / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3818, allocations: 0 / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3818, allocations: 12.31 kB / 0.565 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.274e-05/0.3819, allocations: 11.98 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3819, allocations: 4 kB / 0.5651 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.102e-05/0.382, allocations: 15.89 kB / 0.5651 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.382, allocations: 4 kB / 0.5651 GB, free: 15.04 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 (6): * Single equations (assignments): 6 * 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.000171/0.3822, allocations: 169.8 kB / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.3822, allocations: 39.72 kB / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.3825, allocations: 133.2 kB / 0.5654 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3825, allocations: 7.875 kB / 0.5654 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3825, allocations: 3.938 kB / 0.5654 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3825, allocations: 11.97 kB / 0.5654 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.3829, allocations: 248.7 kB / 0.5657 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3829, allocations: 0 / 0.5657 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.3829, allocations: 11.98 kB / 0.5657 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3829, allocations: 0 / 0.5657 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3829, allocations: 4 kB / 0.5657 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.3829, allocations: 3.938 kB / 0.5657 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3829, allocations: 0 / 0.5657 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.3832, allocations: 211.2 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.671e-05/0.3833, allocations: 39.73 kB / 0.5659 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.3833, allocations: 8 kB / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.3834, allocations: 7.938 kB / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.3834, allocations: 11.92 kB / 0.5659 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.3834, allocations: 0 / 0.5659 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004995/0.3839, allocations: 439.1 kB / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3839, allocations: 0 / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.3842, allocations: 39.88 kB / 0.5664 GB, free: 13.61 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 (6): * Single equations (assignments): 6 * 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.003174/0.3874, allocations: 1.29 MB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.3876, allocations: 55.91 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3876, allocations: 0 / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.3877, allocations: 23.98 kB / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.3883, allocations: 81.34 kB / 0.5678 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.3925, allocations: 2.839 MB / 0.5706 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.3927, allocations: 195.1 kB / 0.5708 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.3928, allocations: 37.59 kB / 0.5708 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.393, allocations: 111.4 kB / 0.5709 GB, free: 9.184 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.393, allocations: 3.938 kB / 0.5709 GB, free: 9.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.4299, allocations: 7.472 MB / 0.5782 GB, free: 1.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 14.19 kB / 0.5782 GB, free: 1.723 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.066325897816569]