Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001352/0.001352, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001565/0.001565, allocations: 213.7 kB / 23.74 MB, free: 4.688 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: 8.027 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.2356/0.2356, allocations: 46.93 MB / 360.9 MB, free: 4.289 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.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 59.91 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 66.04 MB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003387/0.3208, allocations: 1.707 MB / 0.5623 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3219, allocations: 0.5543 MB / 0.5629 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.3219, allocations: 0 / 0.5629 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.3222, allocations: 75.7 kB / 0.563 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.3225, allocations: 99.59 kB / 0.563 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.323, allocations: 147.3 kB / 0.5632 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.3231, allocations: 87.73 kB / 0.5633 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3232, allocations: 18.06 kB / 0.5633 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.3233, allocations: 39.84 kB / 0.5633 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.3235, allocations: 59.8 kB / 0.5634 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.3235, allocations: 4 kB / 0.5634 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.3237, allocations: 51.92 kB / 0.5634 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.3237, allocations: 35.84 kB / 0.5635 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.3238, allocations: 35.73 kB / 0.5635 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.324, allocations: 123.4 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.324, allocations: 0 / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.324, allocations: 0 / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.324, allocations: 0 / 0.5636 GB, free: 1.465 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005692/0.3246, allocations: 357.5 kB / 0.564 GB, free: 1.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3246, allocations: 12.03 kB / 0.564 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.3247, allocations: 34.75 kB / 0.564 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.3247, allocations: 16.78 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3249, allocations: 146.3 kB / 0.5642 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.325, allocations: 8.375 kB / 0.5642 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.325, allocations: 4.375 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.3252, allocations: 61.61 kB / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3252, allocations: 3.984 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3252, allocations: 4 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3252, allocations: 3.938 kB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.3253, allocations: 43.91 kB / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.3257, allocations: 279.8 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.326, allocations: 58.58 kB / 0.5646 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.326, allocations: 20.84 kB / 0.5646 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3261, allocations: 4.125 kB / 0.5646 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3261, allocations: 38.56 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3261, allocations: 0 / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001436/0.3275, allocations: 405.3 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3276, allocations: 51.41 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.3278, allocations: 230.6 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3278, allocations: 37.64 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.3279, allocations: 112.1 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.328, allocations: 39.62 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.328, allocations: 21.72 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.3282, allocations: 326.8 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.3284, allocations: 43.95 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3286, allocations: 51.91 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.3288, allocations: 93.08 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3288, allocations: 4 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003825/0.3292, allocations: 145.5 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3292, allocations: 10.66 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3292, allocations: 0 / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3292, allocations: 7.938 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3293, allocations: 27.92 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3293, allocations: 3.938 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.3294, allocations: 7.984 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3294, allocations: 7.984 kB / 0.5662 GB, free: 14.6 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 (11): * Single equations (assignments): 11 * 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.0001997/0.3296, allocations: 129.8 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.3296, allocations: 15.91 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.33, allocations: 167 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.33, allocations: 3.938 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.33, allocations: 0 / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.33, allocations: 0 / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.3307, allocations: 455.1 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3307, allocations: 0 / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3308, allocations: 27.97 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3308, allocations: 4.188 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3309, allocations: 8 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3309, allocations: 0 / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3309, allocations: 7.938 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.3312, allocations: 253 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.3313, allocations: 19.91 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3313, allocations: 0 / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3314, allocations: 15.98 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3314, allocations: 11.98 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3314, allocations: 0 / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3316, allocations: 172.4 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3316, allocations: 3.938 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3318, allocations: 23.94 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002372/0.3342, allocations: 1.146 MB / 0.5686 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.3346, allocations: 107.8 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3346, allocations: 0 / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3347, allocations: 56.03 kB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.3351, allocations: 27.08 kB / 0.5688 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.3376, allocations: 1.871 MB / 0.5706 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.338, allocations: 0.7158 MB / 0.5713 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.3381, allocations: 20.48 kB / 0.5713 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.3382, allocations: 43.42 kB / 0.5714 GB, free: 9.27 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3382, allocations: 0 / 0.5714 GB, free: 9.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.3673, allocations: 3.679 MB / 0.575 GB, free: 5.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.84, allocations: 3.984 kB / 0.575 GB, free: 5.648 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.87202806188725]