Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 99.78 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2114/0.2114, allocations: 43.51 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 72.44 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07931/0.08099, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.002198/0.08322, allocations: 1.593 MB / 442.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000416/0.08365, allocations: 327.4 kB / 442.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.08371, allocations: 4 kB / 442.5 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.0839, allocations: 75.77 kB / 442.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.08406, allocations: 51.81 kB / 442.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.08429, allocations: 119.6 kB / 442.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.417e-05/0.08439, allocations: 67.84 kB / 442.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.08447, allocations: 24.11 kB / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.08452, allocations: 35.83 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.08459, allocations: 43.84 kB / 443 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.08461, allocations: 4 kB / 443 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.914e-05/0.08467, allocations: 39.97 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.08473, allocations: 19.92 kB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.08477, allocations: 31.73 kB / 443 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.08489, allocations: 95.7 kB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.0849, allocations: 4 kB / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0849, allocations: 0 / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.08492, allocations: 4 kB / 443.1 MB, free: 4.25 MB / 318.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.0003398/0.08526, allocations: 414.9 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.08529, allocations: 11.89 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.061e-05/0.08532, allocations: 34.73 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.08535, allocations: 20.75 kB / 443.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.08548, allocations: 194.2 kB / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.08549, allocations: 4.375 kB / 443.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.08551, allocations: 4.125 kB / 443.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.08564, allocations: 57.69 kB / 443.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.08566, allocations: 3.984 kB / 443.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.08567, allocations: 0 / 443.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.08568, allocations: 4 kB / 443.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.08579, allocations: 39.89 kB / 443.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.08602, allocations: 296.8 kB / 444.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.359e-05/0.08613, allocations: 46.56 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.08619, allocations: 28.88 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.08622, allocations: 0 / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.08623, allocations: 42.48 kB / 444.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.08624, allocations: 0 / 444.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000604/0.08685, allocations: 209 kB / 444.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.563e-05/0.08687, allocations: 51.41 kB / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.08701, allocations: 219.2 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.08702, allocations: 29.7 kB / 444.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.08706, allocations: 104.1 kB / 444.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.08708, allocations: 27.72 kB / 444.9 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.08712, allocations: 17.72 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.448e-05/0.08716, allocations: 322.8 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.591e-05/0.08726, allocations: 31.97 kB / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.08735, allocations: 31.97 kB / 445.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.08753, allocations: 72.81 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.08754, allocations: 0 / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002204/0.08776, allocations: 125.6 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/0.08778, allocations: 4 kB / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.08779, allocations: 0 / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.0878, allocations: 4 kB / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.828e-05/0.0879, allocations: 23.97 kB / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.08792, allocations: 3.938 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.08797, allocations: 8 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.08799, allocations: 0 / 445.6 MB, free: 1.578 MB / 318.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 (7): * Single equations (assignments): 7 * 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 5.587e-05/0.08805, allocations: 133.8 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.08808, allocations: 7.906 kB / 445.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.08834, allocations: 135 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.08835, allocations: 0 / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.08836, allocations: 7.922 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.08837, allocations: 288 / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.08874, allocations: 390.5 kB / 446.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.08875, allocations: 0 / 446.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.08883, allocations: 23.92 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.08884, allocations: 11.88 kB / 446.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.08885, allocations: 3.984 kB / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.08885, allocations: 0 / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.08886, allocations: 0 / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.08909, allocations: 219.3 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.08912, allocations: 85.02 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.08914, allocations: 3.938 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.08923, allocations: 15.98 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.08928, allocations: 7.984 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.08929, allocations: 7.938 kB / 446.6 MB, free: 452 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.867e-05/0.08937, allocations: 155.9 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.08938, allocations: 4 kB / 446.8 MB, free: 292 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.0896, allocations: 16 kB / 446.8 MB, free: 276 kB / 318.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 (7): * Single equations (assignments): 7 * 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.001176/0.09078, allocations: 1.045 MB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.09106, allocations: 79.88 kB / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.09108, allocations: 0 / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.09119, allocations: 39.97 kB / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.09149, allocations: 18.33 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.09318, allocations: 1.706 MB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.09341, allocations: 0.708 MB / 450.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.513e-05/0.09346, allocations: 8.672 kB / 450.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.09351, allocations: 27.42 kB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.09352, allocations: 4 kB / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.1118, allocations: 2.954 MB / 453.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.115, allocations: 7.984 kB / 453.4 MB, free: 9.617 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches