Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001681/0.001681, allocations: 96.38 kB / 16.27 MB, free: 5.961 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.001939/0.001939, allocations: 193.1 kB / 17.2 MB, free: 5.598 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.389/1.389, 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.1769/0.1769, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001676/0.001676, allocations: 71.02 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0775/0.07919, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002646/0.08187, allocations: 2.025 MB / 442.7 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.08307, allocations: 1.073 MB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.08316, allocations: 7.938 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.08337, allocations: 59.56 kB / 443.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.08364, allocations: 151.3 kB / 443.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.08451, allocations: 0.5557 MB / 444.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.08475, allocations: 299.1 kB / 444.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.08489, allocations: 68.72 kB / 444.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.08502, allocations: 135.4 kB / 445 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.08519, allocations: 199.3 kB / 445.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.08524, allocations: 12 kB / 445.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.08532, allocations: 43.92 kB / 445.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.08543, allocations: 147.6 kB / 445.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.08554, allocations: 170.6 kB / 445.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.08579, allocations: 398.4 kB / 445.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.0858, allocations: 0 / 445.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.08581, allocations: 0 / 445.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.08582, allocations: 0 / 445.9 MB, free: 1.5 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007722/0.0866, allocations: 0.8007 MB / 446.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.08664, allocations: 11.89 kB / 446.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.08667, allocations: 46.73 kB / 446.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.08675, allocations: 56.19 kB / 446.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.08722, allocations: 467.7 kB / 447.3 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.08725, allocations: 12.38 kB / 447.3 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.0873, allocations: 11.94 kB / 447.3 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.08772, allocations: 169.3 kB / 447.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.08775, allocations: 0 / 447.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.08777, allocations: 0 / 447.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.08778, allocations: 7.938 kB / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.0881, allocations: 123.8 kB / 447.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009387/0.08904, allocations: 0.719 MB / 448.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.08933, allocations: 137.2 kB / 448.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.08949, allocations: 69.8 kB / 448.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.08952, allocations: 0 / 448.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.08955, allocations: 42.5 kB / 448.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.08956, allocations: 0 / 448.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002064/0.09163, allocations: 0.7397 MB / 449.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.09168, allocations: 77.11 kB / 449.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008471/0.09253, allocations: 0.8907 MB / 450.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.09256, allocations: 25.92 kB / 450.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.09275, allocations: 264.2 kB / 450.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.09282, allocations: 70.94 kB / 450.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.0929, allocations: 45.69 kB / 450.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.09304, allocations: 374.7 kB / 451.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.09339, allocations: 111.9 kB / 451.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.09368, allocations: 130.8 kB / 451.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.09425, allocations: 253.6 kB / 451.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.09426, allocations: 0 / 451.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007977/0.09506, allocations: 340.8 kB / 451.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.09509, allocations: 4 kB / 451.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.0951, allocations: 3.984 kB / 451.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.09512, allocations: 0 / 451.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.0954, allocations: 51.95 kB / 451.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.09542, allocations: 0 / 451.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.09562, allocations: 31.97 kB / 452 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.09565, allocations: 4.75 kB / 452 MB, free: 11.19 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.09585, allocations: 229.6 kB / 452.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.09596, allocations: 55.25 kB / 452.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008087/0.09677, allocations: 394.1 kB / 452.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.09679, allocations: 4 kB / 452.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.0968, allocations: 0 / 452.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.09681, allocations: 4 kB / 452.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.09816, allocations: 0.9544 MB / 453.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.09817, allocations: 0 / 453.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.09842, allocations: 55.88 kB / 453.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.09844, allocations: 4 kB / 453.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.09846, allocations: 4 kB / 453.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.09847, allocations: 7.938 kB / 453.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.09847, allocations: 0 / 453.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.09926, allocations: 0.5126 MB / 454.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.0994, allocations: 152.4 kB / 454.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.09945, allocations: 0 / 454.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.09971, allocations: 27.91 kB / 454.4 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.09979, allocations: 19.92 kB / 454.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.09981, allocations: 11.98 kB / 454.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000627/0.1004, allocations: 0.6513 MB / 455 MB, free: 8.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1005, allocations: 4 kB / 455 MB, free: 8.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.1008, allocations: 64 kB / 455.1 MB, free: 7.953 MB / 334.1 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 (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.001921/0.1027, allocations: 1.349 MB / 456.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006536/0.1034, allocations: 283.6 kB / 456.7 MB, free: 6.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1034, allocations: 0 / 456.7 MB, free: 6.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.1037, allocations: 143.8 kB / 456.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.1043, allocations: 75.64 kB / 456.9 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006465/0.1108, allocations: 5.54 MB / 462.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.1113, allocations: 0.8809 MB / 463.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.1116, allocations: 111.2 kB / 463.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.1119, allocations: 175.4 kB / 463.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1119, allocations: 0 / 463.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03357/0.1455, allocations: 10.1 MB / 473.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.091, allocations: 19.92 kB / 473.8 MB, free: 5.18 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches