Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001384/0.001384, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001531/0.001531, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2833/0.2833, allocations: 46.93 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 71.89 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3654, allocations: 66.03 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00337/0.3688, allocations: 1.723 MB / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3699, allocations: 0.6049 MB / 0.5629 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.37, allocations: 4 kB / 0.5629 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.3702, allocations: 27.72 kB / 0.563 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.3705, allocations: 79.62 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.3709, allocations: 194.9 kB / 0.5632 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3711, allocations: 95.69 kB / 0.5633 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3713, allocations: 17.81 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.883e-05/0.3713, allocations: 47.83 kB / 0.5634 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/0.3714, allocations: 43.72 kB / 0.5634 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3715, allocations: 8 kB / 0.5634 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.3717, allocations: 99.94 kB / 0.5635 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.3717, allocations: 27.91 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.3718, allocations: 39.73 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.3721, allocations: 175.3 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3721, allocations: 0 / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3721, allocations: 0 / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3721, allocations: 0 / 0.5638 GB, free: 1.285 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.0007106/0.3728, allocations: 385.4 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3729, allocations: 12.03 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.3729, allocations: 30.75 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.373, allocations: 8.891 kB / 0.5642 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.3732, allocations: 151.9 kB / 0.5643 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3732, allocations: 384 / 0.5643 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3732, allocations: 8.375 kB / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.3735, allocations: 99.28 kB / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3735, allocations: 0 / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3736, allocations: 4 kB / 0.5644 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3736, allocations: 0 / 0.5644 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.3739, allocations: 71.91 kB / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.3745, allocations: 323.7 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3748, allocations: 70.53 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.375, allocations: 44.94 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.375, allocations: 4 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.375, allocations: 38.56 kB / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.375, allocations: 0 / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001613/0.3766, allocations: 412.9 kB / 0.5653 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.3767, allocations: 81.11 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.3769, allocations: 170.1 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3769, allocations: 25.7 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.377, allocations: 104.1 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.377, allocations: 31.91 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.3771, allocations: 37.58 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3772, allocations: 322.8 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.3775, allocations: 75.92 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.3778, allocations: 97.62 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.3784, allocations: 172.7 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3784, allocations: 384 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006371/0.379, allocations: 209.4 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.379, allocations: 4 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.379, allocations: 0 / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3791, allocations: 4 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.3793, allocations: 43.95 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3793, allocations: 7.938 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.3794, allocations: 27.92 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.3794, allocations: 0 / 0.5667 GB, free: 14.05 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 (10): * Single equations (assignments): 10 * 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.0001066/0.3796, allocations: 129.8 kB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3796, allocations: 7.953 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/0.3803, allocations: 222.5 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3803, allocations: 8.078 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3803, allocations: 7.875 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3803, allocations: 3.938 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3813, allocations: 497.3 kB / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3813, allocations: 0 / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.3815, allocations: 43.89 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3815, allocations: 4 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3815, allocations: 0 / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3815, allocations: 4 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3815, allocations: 0 / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.3822, allocations: 295.3 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.3822, allocations: 23.83 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3822, allocations: 4 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3824, allocations: 23.97 kB / 0.5679 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.3825, allocations: 11.92 kB / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3825, allocations: 7.984 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.3826, allocations: 128.1 kB / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3826, allocations: 0 / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000308/0.3829, allocations: 51.86 kB / 0.5681 GB, free: 12.53 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 (9): * Single equations (assignments): 9 * 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.002679/0.3856, allocations: 1.235 MB / 0.5693 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000665/0.3862, allocations: 175.8 kB / 0.5695 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3862, allocations: 0 / 0.5695 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.3865, allocations: 88.09 kB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3869, allocations: 24.12 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.39, allocations: 1.933 MB / 0.5715 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.3904, allocations: 0.7086 MB / 0.5722 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.3905, allocations: 32.45 kB / 0.5722 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.3906, allocations: 39.41 kB / 0.5722 GB, free: 8.359 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3906, allocations: 0 / 0.5722 GB, free: 8.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.4223, allocations: 4.587 MB / 0.5767 GB, free: 3.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 4 kB / 0.5767 GB, free: 3.805 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.74455654504709]