Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008555/0.0008592, allocations: 170.7 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007063/0.0007063, allocations: 87.73 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.28/0.28, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 16 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09442/0.0948, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.001965/0.0968, allocations: 1.675 MB / 492.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.09809, allocations: 1.027 MB / 493.6 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.824e-05/0.09817, allocations: 0 / 493.6 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.09837, allocations: 39.7 kB / 493.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.09863, allocations: 139.5 kB / 493.8 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009861/0.09963, allocations: 0.5303 MB / 494.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.09991, allocations: 259.2 kB / 494.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1001, allocations: 80.5 kB / 494.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.1002, allocations: 107.5 kB / 494.8 MB, free: 6.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1004, allocations: 167.3 kB / 494.9 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.1005, allocations: 11.98 kB / 494.9 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.573e-05/0.1005, allocations: 27.98 kB / 495 MB, free: 6.727 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1007, allocations: 135.6 kB / 495.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1008, allocations: 184.5 kB / 495.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1011, allocations: 283.5 kB / 495.6 MB, free: 6.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1011, allocations: 0 / 495.6 MB, free: 6.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1011, allocations: 0 / 495.6 MB, free: 6.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.1011, allocations: 0 / 495.6 MB, free: 6.129 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008363/0.1019, allocations: 0.7389 MB / 496.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.102, allocations: 12.03 kB / 496.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.102, allocations: 38.75 kB / 496.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.1021, allocations: 60.12 kB / 496.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.1026, allocations: 471.7 kB / 496.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1026, allocations: 8.375 kB / 496.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1026, allocations: 11.94 kB / 496.9 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.103, allocations: 171.2 kB / 497.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.103, allocations: 0 / 497.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.103, allocations: 4 kB / 497.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.103, allocations: 4 kB / 497.1 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.1033, allocations: 131.9 kB / 497.2 MB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.1042, allocations: 0.7346 MB / 497.9 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1045, allocations: 141.2 kB / 498.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1047, allocations: 77.8 kB / 498.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1047, allocations: 4.219 kB / 498.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1047, allocations: 38.5 kB / 498.2 MB, free: 3.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.434e-06/0.1048, allocations: 7.922 kB / 498.2 MB, free: 3.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001968/0.1067, allocations: 0.818 MB / 499 MB, free: 2.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1068, allocations: 81.11 kB / 499.1 MB, free: 2.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008371/0.1076, allocations: 0.8867 MB / 500 MB, free: 1.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1077, allocations: 33.7 kB / 0.4883 GB, free: 1.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.1078, allocations: 256.4 kB / 0.4885 GB, free: 1.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.1079, allocations: 70.95 kB / 0.4886 GB, free: 1.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.1079, allocations: 0 / 0.4886 GB, free: 1.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1081, allocations: 378.7 kB / 0.489 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.1083, allocations: 123.9 kB / 0.4891 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.1086, allocations: 153.2 kB / 0.4892 GB, free: 472 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.1092, allocations: 281.6 kB / 0.4895 GB, free: 184 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1092, allocations: 0 / 0.4895 GB, free: 184 kB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.16/0.2692, allocations: 367.3 kB / 0.4898 GB, free: 42.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2693, allocations: 7.844 kB / 0.4899 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2693, allocations: 0 / 0.4899 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2693, allocations: 0.8125 kB / 0.4899 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.2696, allocations: 65.8 kB / 0.4899 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2696, allocations: 1.094 kB / 0.4899 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.2699, allocations: 35.12 kB / 0.49 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.2699, allocations: 6.906 kB / 0.49 GB, free: 42.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.2701, allocations: 218.3 kB / 0.4902 GB, free: 42.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.2702, allocations: 56.38 kB / 0.4902 GB, free: 42.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/0.2711, allocations: 435.6 kB / 0.4906 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2711, allocations: 3.312 kB / 0.4906 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2711, allocations: 3.625 kB / 0.4906 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2711, allocations: 1.656 kB / 0.4906 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.2725, allocations: 0.981 MB / 0.4916 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2725, allocations: 2.781 kB / 0.4916 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.2727, allocations: 59.61 kB / 0.4917 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2727, allocations: 11.33 kB / 0.4917 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.2728, allocations: 9.719 kB / 0.4917 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2728, allocations: 1.938 kB / 0.4917 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2728, allocations: 5.312 kB / 0.4917 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.2735, allocations: 0.5392 MB / 0.4922 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.2736, allocations: 158.4 kB / 0.4924 GB, free: 41.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.2737, allocations: 4.969 kB / 0.4924 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.2739, allocations: 32.05 kB / 0.4924 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.274, allocations: 19.14 kB / 0.4924 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.274, allocations: 8.578 kB / 0.4924 GB, free: 41.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007092/0.2747, allocations: 0.647 MB / 0.4931 GB, free: 41.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2747, allocations: 0 / 0.4931 GB, free: 41.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.2751, allocations: 61.73 kB / 0.4931 GB, free: 41.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/0.2766, allocations: 1.385 MB / 0.4945 GB, free: 40.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.2773, allocations: 293.2 kB / 0.4948 GB, free: 40.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2773, allocations: 0 / 0.4948 GB, free: 40.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.2776, allocations: 163.8 kB / 0.4949 GB, free: 40.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.2782, allocations: 67.14 kB / 0.495 GB, free: 40.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.2826, allocations: 3.537 MB / 0.4984 GB, free: 39.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.2828, allocations: 0.886 MB / 0.4993 GB, free: 39.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.2831, allocations: 184.1 kB / 0.4995 GB, free: 39.28 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2831, allocations: 0 / 0.4995 GB, free: 39.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.838/3.121, allocations: 7.821 MB / 0.5071 GB, free: 38.45 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches