Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2",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.0008144/0.0008143, allocations: 175.4 kB / 16.72 MB, free: 5.059 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.24/1.24, 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.0006898/0.0006898, allocations: 89.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.281/0.281, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 19.98 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09172, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.001746/0.09351, allocations: 1.305 MB / 492.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005127/0.09404, allocations: 315.8 kB / 492.5 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.09409, allocations: 0 / 492.5 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.09459, allocations: 435.2 kB / 493 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.09487, allocations: 243.5 kB / 493.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.09517, allocations: 99.75 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.09535, allocations: 119.7 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.09546, allocations: 20.16 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.09557, allocations: 95.8 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.09576, allocations: 171.7 kB / 493.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.09579, allocations: 0 / 493.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.09587, allocations: 31.91 kB / 493.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.09599, allocations: 83.75 kB / 493.8 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.09608, allocations: 116.8 kB / 493.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.09632, allocations: 184 kB / 494.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.09633, allocations: 0 / 494.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.09634, allocations: 3.938 kB / 494.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.09635, allocations: 0 / 494.1 MB, free: 7.594 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.0007624/0.09712, allocations: 0.595 MB / 494.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.09718, allocations: 12.03 kB / 494.7 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.09723, allocations: 30.75 kB / 494.7 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.09729, allocations: 44.47 kB / 494.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.09758, allocations: 292.2 kB / 495.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.0976, allocations: 384 / 495.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.09764, allocations: 12.12 kB / 495.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.0978, allocations: 57.62 kB / 495.1 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.09782, allocations: 3.984 kB / 495.1 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.09784, allocations: 4 kB / 495.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.09785, allocations: 0 / 495.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.09796, allocations: 27.97 kB / 495.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.0985, allocations: 384.7 kB / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.09873, allocations: 54.48 kB / 495.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.09879, allocations: 20.94 kB / 495.6 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.09882, allocations: 0 / 495.6 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.09886, allocations: 30.56 kB / 495.7 MB, free: 5.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.09887, allocations: 4 kB / 495.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006589/0.09953, allocations: 243.9 kB / 495.9 MB, free: 5.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.09958, allocations: 55.41 kB / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/0.1004, allocations: 0.8652 MB / 496.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1004, allocations: 29.64 kB / 496.8 MB, free: 4.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1006, allocations: 224.1 kB / 497.1 MB, free: 4.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1006, allocations: 15.66 kB / 497.1 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.1006, allocations: 0 / 497.1 MB, free: 4.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1008, allocations: 366.8 kB / 497.4 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.1009, allocations: 23.98 kB / 497.5 MB, free: 4.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.1009, allocations: 27.92 kB / 497.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.1011, allocations: 56.77 kB / 497.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1011, allocations: 0 / 497.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002041/0.1014, allocations: 121.2 kB / 497.7 MB, free: 3.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1014, allocations: 4 kB / 497.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1014, allocations: 0 / 497.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1014, allocations: 0 / 497.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.1015, allocations: 15.98 kB / 497.7 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1015, allocations: 11.94 kB / 497.7 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.1016, allocations: 4 kB / 497.7 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1016, allocations: 0 / 497.7 MB, free: 3.77 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.0001772/0.1018, allocations: 217.7 kB / 497.9 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.1018, allocations: 43.44 kB / 497.9 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.1021, allocations: 137.3 kB / 498.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1021, allocations: 64 / 498.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1021, allocations: 7.938 kB / 498.1 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1021, allocations: 4 kB / 498.1 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.1026, allocations: 470.5 kB / 498.6 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1026, allocations: 0 / 498.6 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.1027, allocations: 12 kB / 498.6 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.1027, allocations: 3.938 kB / 498.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1027, allocations: 4 kB / 498.6 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1027, allocations: 3.984 kB / 498.6 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1027, allocations: 0 / 498.6 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.103, allocations: 215 kB / 498.8 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.103, allocations: 116.5 kB / 498.9 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1031, allocations: 7.938 kB / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.1032, allocations: 4 kB / 498.9 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.1032, allocations: 11.92 kB / 498.9 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1032, allocations: 4 kB / 498.9 MB, free: 2.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005801/0.1038, allocations: 0.655 MB / 499.6 MB, free: 1.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1038, allocations: 0 / 499.6 MB, free: 1.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.104, allocations: 20 kB / 499.6 MB, free: 1.75 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.00118/0.1052, allocations: 1.059 MB / 0.4889 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1054, allocations: 59.91 kB / 0.489 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1054, allocations: 4 kB / 0.489 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/0.1055, allocations: 31.97 kB / 0.489 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1058, allocations: 13.97 kB / 0.489 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1633/0.2692, allocations: 2.341 MB / 0.4913 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.2695, allocations: 0.821 MB / 0.4921 GB, free: 41.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2696, allocations: 102.3 kB / 0.4922 GB, free: 41.9 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2696, allocations: 2.953 kB / 0.4922 GB, free: 41.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.615/2.885, allocations: 6.504 MB / 0.4986 GB, free: 40.66 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches