Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.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.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30",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.0007913/0.0007914, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.16/1.16, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007222/0.0007222, allocations: 90.36 kB / 271.2 MB, free: 8.25 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.2749/0.2749, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004031, allocations: 15.98 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.102, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.001744/0.1038, allocations: 1.309 MB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005273/0.1043, allocations: 307.8 kB / 492.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.1044, allocations: 0 / 492.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1046, allocations: 59.84 kB / 492.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1048, allocations: 59.81 kB / 492.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1051, allocations: 95.86 kB / 492.7 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.1053, allocations: 67.81 kB / 492.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.1054, allocations: 12.12 kB / 492.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.1054, allocations: 27.91 kB / 492.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.1055, allocations: 43.83 kB / 492.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1055, allocations: 4 kB / 492.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/0.1056, allocations: 23.98 kB / 492.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.1057, allocations: 23.92 kB / 492.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.1057, allocations: 53.48 kB / 493 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.1059, allocations: 72.06 kB / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1059, allocations: 0 / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1059, allocations: 0 / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1059, allocations: 0 / 493.1 MB, free: 8.629 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004675/0.1064, allocations: 414.6 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1064, allocations: 8.031 kB / 493.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.1065, allocations: 38.75 kB / 493.5 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.1065, allocations: 12.83 kB / 493.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1067, allocations: 200.7 kB / 493.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1067, allocations: 4.359 kB / 493.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1067, allocations: 8.125 kB / 493.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1069, allocations: 61.67 kB / 493.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1069, allocations: 0 / 493.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1069, allocations: 0 / 493.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.1069, allocations: 4 kB / 493.8 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1071, allocations: 51.89 kB / 493.9 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.1074, allocations: 292.8 kB / 494.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1075, allocations: 42.56 kB / 494.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.274e-05/0.1076, allocations: 32.94 kB / 494.2 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1076, allocations: 0 / 494.2 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1077, allocations: 38.48 kB / 494.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1077, allocations: 0 / 494.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007777/0.1085, allocations: 253.1 kB / 494.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1085, allocations: 55.41 kB / 494.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1087, allocations: 216.6 kB / 494.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1087, allocations: 25.7 kB / 494.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.1088, allocations: 104.1 kB / 494.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.1088, allocations: 19.66 kB / 494.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1088, allocations: 3.938 kB / 494.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.1089, allocations: 330.8 kB / 495.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.109, allocations: 43.91 kB / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.1091, allocations: 39.97 kB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.1094, allocations: 88.81 kB / 495.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1094, allocations: 4 kB / 495.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002655/0.1096, allocations: 129.5 kB / 495.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1097, allocations: 4 kB / 495.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1097, allocations: 8 kB / 495.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1097, allocations: 0 / 495.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1098, allocations: 27.98 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1098, allocations: 3.938 kB / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.1099, allocations: 19.89 kB / 495.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1099, allocations: 0 / 495.6 MB, free: 5.871 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.271e-05/0.11, allocations: 129.8 kB / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.11, allocations: 7.906 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.1104, allocations: 147 kB / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1104, allocations: 4 kB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1104, allocations: 3.938 kB / 495.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1104, allocations: 0 / 495.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.1109, allocations: 410.5 kB / 496.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1109, allocations: 0 / 496.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/0.111, allocations: 27.92 kB / 496.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.111, allocations: 3.938 kB / 496.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.111, allocations: 0 / 496.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.111, allocations: 4 kB / 496.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.111, allocations: 0 / 496.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.1113, allocations: 231.8 kB / 496.5 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.1114, allocations: 89 kB / 496.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1114, allocations: 7.938 kB / 496.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.1115, allocations: 11.98 kB / 496.6 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1116, allocations: 11.98 kB / 496.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1116, allocations: 0 / 496.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1117, allocations: 168.9 kB / 496.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1117, allocations: 0 / 496.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.1119, allocations: 16 kB / 496.8 MB, free: 4.516 MB / 378.7 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 (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.001202/0.1131, allocations: 1.075 MB / 497.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.1134, allocations: 91.94 kB / 498 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1134, allocations: 3.938 kB / 498 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1136, allocations: 51.97 kB / 498.1 MB, free: 3.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1139, allocations: 15.98 kB / 498.1 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1151, allocations: 0.8385 MB / 498.9 MB, free: 2.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.1154, allocations: 0.7002 MB / 499.6 MB, free: 1.684 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.1154, allocations: 35.42 kB / 499.6 MB, free: 1.648 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1154, allocations: 0 / 499.6 MB, free: 1.648 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.766/2.881, allocations: 2.082 MB / 0.49 GB, free: 42.66 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches