Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001699/0.001699, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001959/0.001959, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.236/0.236, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.91 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 66.03 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003026/0.3374, allocations: 1.686 MB / 0.5623 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3385, allocations: 0.5465 MB / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.3385, allocations: 4 kB / 0.5628 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.3387, allocations: 23.8 kB / 0.5628 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.339, allocations: 79.61 kB / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3393, allocations: 147 kB / 0.563 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3394, allocations: 91.7 kB / 0.5631 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.3395, allocations: 13.83 kB / 0.5631 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.558e-05/0.3396, allocations: 43.83 kB / 0.5632 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.3397, allocations: 39.78 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3397, allocations: 4 kB / 0.5632 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.3399, allocations: 107.9 kB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.3399, allocations: 19.92 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.34, allocations: 31.84 kB / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.3403, allocations: 171.2 kB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3403, allocations: 0 / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3403, allocations: 0 / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3403, allocations: 4 kB / 0.5635 GB, free: 1.215 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.0006219/0.3409, allocations: 369.5 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3409, allocations: 12.03 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.341, allocations: 38.75 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.341, allocations: 8.891 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3412, allocations: 145.8 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3412, allocations: 4.375 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.3412, allocations: 384 / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.3415, allocations: 124.9 kB / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3415, allocations: 0 / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.3415, allocations: 0 / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3415, allocations: 3.938 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.3418, allocations: 71.92 kB / 0.5643 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.3423, allocations: 279.8 kB / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.3425, allocations: 62.58 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.3427, allocations: 52.84 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3427, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3428, allocations: 34.55 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3428, allocations: 4 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001579/0.3443, allocations: 381.2 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.3444, allocations: 85.11 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3446, allocations: 166.2 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3446, allocations: 25.7 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.3447, allocations: 100.1 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.3447, allocations: 35.69 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.3448, allocations: 21.72 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3449, allocations: 318.8 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.3452, allocations: 75.92 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.3455, allocations: 111.5 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/0.3461, allocations: 156.7 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3461, allocations: 0 / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006222/0.3467, allocations: 189.7 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3467, allocations: 8 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3467, allocations: 0 / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3467, allocations: 96 / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.3469, allocations: 43.89 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3469, allocations: 3.938 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.3471, allocations: 27.97 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3471, allocations: 0 / 0.5664 GB, free: 14.09 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.0001078/0.3472, allocations: 125.8 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.3473, allocations: 11.91 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006659/0.3479, allocations: 206.2 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3479, allocations: 0 / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3479, allocations: 7.938 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3479, allocations: 4 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009523/0.3489, allocations: 457.4 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3489, allocations: 4 kB / 0.5671 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.3491, allocations: 39.89 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3491, allocations: 0 / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3491, allocations: 0 / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3491, allocations: 0 / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3491, allocations: 4 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.3498, allocations: 287.2 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.3498, allocations: 15.88 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.3498, allocations: 8 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.35, allocations: 19.97 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.3501, allocations: 11.98 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3501, allocations: 8.266 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.3502, allocations: 124.9 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3502, allocations: 0 / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.3505, allocations: 55.8 kB / 0.5677 GB, free: 12.64 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.002734/0.3533, allocations: 1.265 MB / 0.5689 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006544/0.3539, allocations: 151.8 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3539, allocations: 0 / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.3542, allocations: 83.86 kB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3546, allocations: 19.98 kB / 0.5692 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.3576, allocations: 1.848 MB / 0.571 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.904e-05/0.3577, allocations: 93.31 kB / 0.5711 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.22e-05/0.3578, allocations: 20.47 kB / 0.5711 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.3579, allocations: 35.42 kB / 0.5711 GB, free: 9.227 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3579, allocations: 0 / 0.5711 GB, free: 9.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.389, allocations: 4.97 MB / 0.576 GB, free: 4.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 12.03 kB / 0.576 GB, free: 4.285 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.504176516085863]