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.001246/0.001246, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001532/0.001532, allocations: 206 kB / 23.73 MB, free: 4.523 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.239/0.239, allocations: 46.96 MB / 360.9 MB, free: 4.039 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="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.002023/0.002023, allocations: 67.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 66.04 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003054/0.3282, allocations: 1.691 MB / 0.5623 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3294, allocations: 0.5738 MB / 0.5628 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.3295, allocations: 0 / 0.5628 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.3297, allocations: 23.78 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.3301, allocations: 83.61 kB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.3306, allocations: 191.2 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.3308, allocations: 95.7 kB / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3309, allocations: 21.78 kB / 0.5632 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.331, allocations: 39.86 kB / 0.5633 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.3311, allocations: 39.78 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3311, allocations: 11.94 kB / 0.5633 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.3313, allocations: 99.94 kB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.552e-05/0.3314, allocations: 31.89 kB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.3314, allocations: 27.86 kB / 0.5635 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.3317, allocations: 175.2 kB / 0.5636 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3317, allocations: 0 / 0.5636 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3317, allocations: 0 / 0.5636 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3317, allocations: 0 / 0.5636 GB, free: 1.133 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.000718/0.3324, allocations: 377.4 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3325, allocations: 8.031 kB / 0.564 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.3325, allocations: 38.73 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.3326, allocations: 12.89 kB / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.3328, allocations: 146.3 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3328, allocations: 4.375 kB / 0.5642 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.3328, allocations: 4.375 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.3332, allocations: 124.9 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3332, allocations: 0 / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3332, allocations: 4 kB / 0.5643 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3332, allocations: 0 / 0.5643 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.3335, allocations: 75.91 kB / 0.5644 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.3342, allocations: 307.8 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.3344, allocations: 70.53 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.3346, allocations: 52.94 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3346, allocations: 0 / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3346, allocations: 34.56 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3346, allocations: 0 / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.00161/0.3362, allocations: 412.9 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.3363, allocations: 85.09 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.3365, allocations: 170.2 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3365, allocations: 25.7 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.3366, allocations: 108.1 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.3367, allocations: 27.75 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.3367, allocations: 25.7 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3369, allocations: 322.8 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.3372, allocations: 84.3 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.3375, allocations: 115.3 kB / 0.5661 GB, free: 14.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/0.3381, allocations: 176.7 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3381, allocations: 4 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000661/0.3387, allocations: 205.4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3388, allocations: 12 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3388, allocations: 3.938 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3388, allocations: 0 / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.339, allocations: 35.95 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.339, allocations: 7.938 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.3392, allocations: 27.92 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3392, allocations: 4 kB / 0.5666 GB, free: 13.86 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.0001159/0.3393, allocations: 122.2 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.3394, allocations: 11.95 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.3401, allocations: 222.1 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3401, allocations: 4 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.3401, allocations: 7.938 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3401, allocations: 0 / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000997/0.3411, allocations: 477.3 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3411, allocations: 11.98 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.3413, allocations: 35.91 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3413, allocations: 0 / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3413, allocations: 0 / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3413, allocations: 0 / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3413, allocations: 0 / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.342, allocations: 307.3 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.342, allocations: 19.83 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.342, allocations: 4 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3422, allocations: 27.95 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.3423, allocations: 11.98 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3423, allocations: 4 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.3424, allocations: 132.1 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3424, allocations: 0 / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.3427, allocations: 47.86 kB / 0.568 GB, free: 12.36 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.002721/0.3454, allocations: 1.275 MB / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006365/0.3461, allocations: 179.7 kB / 0.5694 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3461, allocations: 4 kB / 0.5694 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.3464, allocations: 87.84 kB / 0.5695 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3468, allocations: 25.83 kB / 0.5695 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.3501, allocations: 1.932 MB / 0.5714 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.3502, allocations: 92.8 kB / 0.5715 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.3503, allocations: 36.45 kB / 0.5715 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.3504, allocations: 35.42 kB / 0.5716 GB, free: 8.797 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3504, allocations: 0 / 0.5716 GB, free: 8.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.3816, allocations: 5.13 MB / 0.5766 GB, free: 3.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.21, allocations: 11.98 kB / 0.5766 GB, free: 3.691 MB / 414.1 MB " [Timeout remaining time 649] (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.134617247997085]