Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4",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.00081/0.00081, allocations: 176 kB / 16.72 MB, free: 4.961 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.149/1.149, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006914/0.0006914, allocations: 90.3 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.2725/0.2725, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003049, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.09619, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.001709/0.09794, allocations: 1.301 MB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000518/0.09848, allocations: 315.8 kB / 492.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.09854, allocations: 4 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.09901, allocations: 439.2 kB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.09929, allocations: 239.6 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.09958, allocations: 91.81 kB / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.09979, allocations: 127.7 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.09989, allocations: 12.19 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1, allocations: 99.8 kB / 493.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.1002, allocations: 171.7 kB / 493.7 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.1002, allocations: 4 kB / 493.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.1003, allocations: 24 kB / 493.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.253e-05/0.1004, allocations: 79.69 kB / 493.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.1005, allocations: 112.9 kB / 493.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.1007, allocations: 191.9 kB / 494.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1007, allocations: 7.938 kB / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1007, allocations: 0 / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1007, allocations: 0 / 494.1 MB, free: 7.352 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.0005841/0.1013, allocations: 0.5911 MB / 494.7 MB, free: 6.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1014, allocations: 8.031 kB / 494.7 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.1014, allocations: 34.75 kB / 494.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1015, allocations: 36.47 kB / 494.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1017, allocations: 308.1 kB / 495.1 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1017, allocations: 4.375 kB / 495.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1018, allocations: 8.125 kB / 495.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1019, allocations: 49.69 kB / 495.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1019, allocations: 0 / 495.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1019, allocations: 4 kB / 495.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1019, allocations: 4 kB / 495.1 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.102, allocations: 27.92 kB / 495.2 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1025, allocations: 388.6 kB / 495.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1026, allocations: 46.56 kB / 495.6 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.1027, allocations: 20.73 kB / 495.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1027, allocations: 4.094 kB / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.1028, allocations: 38.55 kB / 495.7 MB, free: 5.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.1028, allocations: 0 / 495.7 MB, free: 5.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005547/0.1033, allocations: 243.9 kB / 495.9 MB, free: 5.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1034, allocations: 51.41 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.1041, allocations: 0.8691 MB / 496.8 MB, free: 4.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1041, allocations: 25.7 kB / 496.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.1043, allocations: 216.1 kB / 497 MB, free: 4.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.1043, allocations: 27.64 kB / 497.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.1043, allocations: 0 / 497.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1045, allocations: 358.8 kB / 497.4 MB, free: 3.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.987e-05/0.1045, allocations: 27.92 kB / 497.5 MB, free: 3.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.572e-05/0.1046, allocations: 19.98 kB / 497.5 MB, free: 3.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1047, allocations: 60.83 kB / 497.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.1048, allocations: 0 / 497.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002035/0.105, allocations: 117.1 kB / 497.6 MB, free: 3.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.105, allocations: 8 kB / 497.7 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.105, allocations: 0 / 497.7 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.105, allocations: 0 / 497.7 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.1051, allocations: 19.98 kB / 497.7 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1051, allocations: 3.938 kB / 497.7 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.1051, allocations: 4 kB / 497.7 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1052, allocations: 7.984 kB / 497.7 MB, free: 3.531 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 (5): * Single equations (assignments): 5 * 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.0001625/0.1053, allocations: 209.8 kB / 497.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.1054, allocations: 39.44 kB / 497.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.1056, allocations: 153.3 kB / 498.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1057, allocations: 0 / 498.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1057, allocations: 4.25 kB / 498.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1057, allocations: 3.984 kB / 498.1 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.1062, allocations: 470.5 kB / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1062, allocations: 0 / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.1062, allocations: 19.92 kB / 498.6 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1062, allocations: 3.938 kB / 498.6 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1062, allocations: 0 / 498.6 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1062, allocations: 0 / 498.6 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1063, allocations: 0 / 498.6 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.1065, allocations: 223 kB / 498.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.1066, allocations: 112.5 kB / 498.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1066, allocations: 7.938 kB / 498.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.1067, allocations: 11.98 kB / 498.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1067, allocations: 4 kB / 498.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1067, allocations: 3.938 kB / 498.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005385/0.1073, allocations: 0.655 MB / 499.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1073, allocations: 0 / 499.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.1075, allocations: 20 kB / 499.6 MB, free: 1.512 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 (5): * Single equations (assignments): 5 * 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.001123/0.1086, allocations: 1.063 MB / 0.4889 GB, free: 484 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.1088, allocations: 55.97 kB / 0.489 GB, free: 428 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1088, allocations: 0 / 0.489 GB, free: 428 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.1089, allocations: 31.92 kB / 0.489 GB, free: 396 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1093, allocations: 25.95 kB / 0.489 GB, free: 368 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1635/0.2728, allocations: 2.344 MB / 0.4913 GB, free: 42.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2731, allocations: 0.8191 MB / 0.4921 GB, free: 41.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2732, allocations: 105.8 kB / 0.4922 GB, free: 41.72 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2732, allocations: 0.5312 kB / 0.4922 GB, free: 41.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.59/2.863, allocations: 6.496 MB / 0.4986 GB, free: 40.47 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches