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.001699/0.001699, 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.002251/0.002251, 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2297/0.2297, allocations: 46.94 MB / 361.7 MB, free: 4.242 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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 67.91 kB / 0.497 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3281, allocations: 66.03 MB / 0.5614 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003824/0.3319, allocations: 1.719 MB / 0.5631 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3331, allocations: 0.6011 MB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.3331, allocations: 0 / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.3334, allocations: 35.66 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.3336, allocations: 87.62 kB / 0.5638 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.3341, allocations: 187.2 kB / 0.564 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.3343, allocations: 95.77 kB / 0.5641 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3344, allocations: 21.94 kB / 0.5641 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.564e-05/0.3345, allocations: 39.84 kB / 0.5642 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.144e-05/0.3346, allocations: 43.78 kB / 0.5642 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.3346, allocations: 8 kB / 0.5642 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.3348, allocations: 107.9 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.3348, allocations: 23.92 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.3349, allocations: 43.72 kB / 0.5644 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.3352, allocations: 175.3 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3352, allocations: 0 / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3352, allocations: 0 / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3352, allocations: 0 / 0.5645 GB, free: 1.27 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.0007292/0.3359, allocations: 377.4 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.336, allocations: 8.031 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.464e-05/0.336, allocations: 4.188 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.336, allocations: 34.75 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.3361, allocations: 8.891 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3363, allocations: 150.3 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.3363, allocations: 4.375 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3363, allocations: 8.125 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.3366, allocations: 99.33 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3366, allocations: 4 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.3367, allocations: 0 / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3367, allocations: 0 / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.337, allocations: 75.92 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.3376, allocations: 315.7 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.3378, allocations: 78.52 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.338, allocations: 48.94 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3381, allocations: 0 / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3381, allocations: 30.56 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.3381, allocations: 0 / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001685/0.3398, allocations: 416.9 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.3398, allocations: 81.05 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.34, allocations: 170.1 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.34, allocations: 29.7 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.3401, allocations: 104.2 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.3402, allocations: 39.73 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.3402, allocations: 25.72 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3404, allocations: 318.8 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.3407, allocations: 84.28 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.341, allocations: 97.62 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.3416, allocations: 164.6 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3416, allocations: 8.031 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006828/0.3422, allocations: 205.4 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3423, allocations: 11.98 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3423, allocations: 0 / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3423, allocations: 4 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.3425, allocations: 35.97 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3425, allocations: 7.922 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.3427, allocations: 31.91 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3427, allocations: 4 kB / 0.5675 GB, free: 14.03 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.0001149/0.3428, allocations: 121.8 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.3429, allocations: 11.89 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007123/0.3436, allocations: 222.4 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3436, allocations: 4 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3436, allocations: 7.938 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3436, allocations: 0 / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.3446, allocations: 0.4895 MB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3446, allocations: 3.938 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.3448, allocations: 35.95 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3448, allocations: 0 / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3448, allocations: 4 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3448, allocations: 0 / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3448, allocations: 0 / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007137/0.3455, allocations: 307.2 kB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.3456, allocations: 19.84 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3456, allocations: 0 / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3458, allocations: 31.95 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3458, allocations: 11.98 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.3458, allocations: 0 / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.346, allocations: 124.1 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.346, allocations: 4 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00032/0.3463, allocations: 47.86 kB / 0.5689 GB, free: 12.52 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.002764/0.349, allocations: 1.242 MB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006936/0.3497, allocations: 171.8 kB / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3497, allocations: 3.938 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3501, allocations: 92.03 kB / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3505, allocations: 27.62 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.3538, allocations: 1.929 MB / 0.5723 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3541, allocations: 0.7085 MB / 0.5729 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.3542, allocations: 32.56 kB / 0.573 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.3543, allocations: 43.36 kB / 0.573 GB, free: 8.34 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3543, allocations: 0 / 0.573 GB, free: 8.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.3791, allocations: 4.617 MB / 0.5775 GB, free: 3.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 6.688 kB / 0.5775 GB, free: 3.766 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.977624360995833]