Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6",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.000855/0.0008551, allocations: 179.3 kB / 16.72 MB, free: 5.078 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.146/1.146, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007284/0.0007284, allocations: 85.41 kB / 271.2 MB, free: 8.246 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.2645/0.2645, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 16 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09336, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001613/0.09502, allocations: 1.309 MB / 492.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005007/0.09554, allocations: 339.8 kB / 492.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.09559, allocations: 0 / 492.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.09605, allocations: 447.1 kB / 493 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.0963, allocations: 231.6 kB / 493.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.09662, allocations: 147.7 kB / 493.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.09679, allocations: 135.7 kB / 493.5 MB, free: 8.199 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.09689, allocations: 27.83 kB / 493.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.09699, allocations: 103.7 kB / 493.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.09717, allocations: 171.7 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.09719, allocations: 0 / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.446e-05/0.09726, allocations: 24 kB / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.09735, allocations: 83.73 kB / 493.9 MB, free: 7.797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.09744, allocations: 120.8 kB / 494 MB, free: 7.672 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.09763, allocations: 195.9 kB / 494.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.09764, allocations: 0 / 494.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.09765, allocations: 0 / 494.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.09766, allocations: 0 / 494.2 MB, free: 7.48 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.0005562/0.09822, allocations: 0.595 MB / 494.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.09826, allocations: 12.03 kB / 494.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.09831, allocations: 42.69 kB / 494.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.09836, allocations: 52.36 kB / 494.9 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.09859, allocations: 292.2 kB / 495.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.09861, allocations: 4.375 kB / 495.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.09863, allocations: 384 / 495.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.09878, allocations: 65.61 kB / 495.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.0988, allocations: 0 / 495.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.09882, allocations: 4 kB / 495.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.09882, allocations: 0 / 495.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.09897, allocations: 51.91 kB / 495.3 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.09942, allocations: 412.6 kB / 495.7 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.09955, allocations: 58.55 kB / 495.8 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.09963, allocations: 32.88 kB / 495.8 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.09965, allocations: 0 / 495.8 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.09968, allocations: 34.56 kB / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.09968, allocations: 0 / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007716/0.1005, allocations: 339.8 kB / 496.2 MB, free: 5.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.1005, allocations: 59.28 kB / 496.2 MB, free: 5.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000692/0.1012, allocations: 0.8691 MB / 497.1 MB, free: 4.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1012, allocations: 25.7 kB / 497.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1014, allocations: 216.1 kB / 497.3 MB, free: 4.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1014, allocations: 19.66 kB / 497.4 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.1014, allocations: 4 kB / 497.4 MB, free: 4.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1015, allocations: 362.8 kB / 497.7 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1016, allocations: 47.97 kB / 497.8 MB, free: 3.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1018, allocations: 44.03 kB / 497.8 MB, free: 3.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.102, allocations: 104.8 kB / 497.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.102, allocations: 0 / 497.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003152/0.1023, allocations: 173.1 kB / 498.1 MB, free: 3.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1023, allocations: 11.94 kB / 498.1 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1024, allocations: 0 / 498.1 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1024, allocations: 0 / 498.1 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1025, allocations: 23.98 kB / 498.1 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1025, allocations: 4.312 kB / 498.1 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.1026, allocations: 19.92 kB / 498.1 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1026, allocations: 288 / 498.1 MB, free: 3.32 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 0.0001596/0.1028, allocations: 217.8 kB / 498.4 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.1028, allocations: 39.44 kB / 498.4 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.1032, allocations: 205.3 kB / 498.6 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1032, allocations: 4 kB / 498.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.1032, allocations: 0 / 498.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1032, allocations: 7.938 kB / 498.6 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.1038, allocations: 0.518 MB / 499.1 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1038, allocations: 0 / 499.1 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.1039, allocations: 23.98 kB / 499.1 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1039, allocations: 3.938 kB / 499.1 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1039, allocations: 3.938 kB / 499.2 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1039, allocations: 0 / 499.2 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1039, allocations: 4 kB / 499.2 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1043, allocations: 274.9 kB / 499.4 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.1043, allocations: 116.5 kB / 499.5 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1044, allocations: 11.94 kB / 499.5 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.1045, allocations: 15.92 kB / 499.6 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1045, allocations: 7.984 kB / 499.6 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.1045, allocations: 7.938 kB / 499.6 MB, free: 1.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005225/0.1051, allocations: 0.6511 MB / 0.4885 GB, free: 1.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1051, allocations: 0 / 0.4885 GB, free: 1.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.1053, allocations: 28 kB / 0.4885 GB, free: 1.09 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.001203/0.1065, allocations: 1.098 MB / 0.4896 GB, free: 12 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1455/0.252, allocations: 98.66 kB / 0.4897 GB, free: 43.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2521, allocations: 1.188 kB / 0.4897 GB, free: 43.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.2522, allocations: 56.39 kB / 0.4898 GB, free: 43.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.2526, allocations: 24.2 kB / 0.4898 GB, free: 43.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.2558, allocations: 2.478 MB / 0.4922 GB, free: 42.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.2561, allocations: 0.8291 MB / 0.493 GB, free: 41.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.2562, allocations: 117.5 kB / 0.4931 GB, free: 41.95 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2562, allocations: 0 / 0.4931 GB, free: 41.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.643/2.9, allocations: 6.694 MB / 0.4997 GB, free: 40.64 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches