Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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.000818/0.000818, allocations: 177 kB / 16.72 MB, free: 5.082 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.154/1.154, 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.0007104/0.0007104, allocations: 86.36 kB / 271.2 MB, free: 8.254 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.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09593/0.09627, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.001572/0.09788, allocations: 1.255 MB / 492.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004579/0.09835, allocations: 299.8 kB / 492.5 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.0984, allocations: 8 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.09857, allocations: 19.91 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.09869, allocations: 31.86 kB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.09892, allocations: 71.89 kB / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.09903, allocations: 51.84 kB / 492.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.09913, allocations: 11.98 kB / 492.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.09918, allocations: 23.86 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.09923, allocations: 15.92 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.09925, allocations: 0 / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.066e-05/0.09932, allocations: 27.98 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.09936, allocations: 15.94 kB / 492.8 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.0994, allocations: 41.56 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.628e-05/0.0995, allocations: 56.19 kB / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.09952, allocations: 0 / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09952, allocations: 0 / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.09953, allocations: 0 / 492.8 MB, free: 8.617 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003575/0.09989, allocations: 375.2 kB / 493.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.09993, allocations: 12.03 kB / 493.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.09997, allocations: 34.73 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.1, allocations: 8.844 kB / 493.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1002, allocations: 191.9 kB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.1002, allocations: 384 / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1002, allocations: 384 / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1003, allocations: 61.61 kB / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1003, allocations: 4 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.1003, allocations: 0 / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1004, allocations: 0 / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.1004, allocations: 27.92 kB / 493.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.1008, allocations: 280.9 kB / 493.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.1009, allocations: 50.48 kB / 493.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.101, allocations: 16.86 kB / 493.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.101, allocations: 4 kB / 493.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.1011, allocations: 38.58 kB / 493.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1011, allocations: 4 kB / 493.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005119/0.1016, allocations: 157.3 kB / 494.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.1016, allocations: 63.34 kB / 494.1 MB, free: 7.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1018, allocations: 142.1 kB / 494.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1018, allocations: 25.7 kB / 494.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.1018, allocations: 92.14 kB / 494.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.1018, allocations: 11.8 kB / 494.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.1019, allocations: 0 / 494.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.102, allocations: 326.8 kB / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.102, allocations: 27.98 kB / 494.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.1021, allocations: 23.98 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1023, allocations: 60.81 kB / 494.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.1023, allocations: 4 kB / 494.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001768/0.1025, allocations: 93.77 kB / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1025, allocations: 7.281 kB / 494.9 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1025, allocations: 8 kB / 495 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1025, allocations: 288 / 495 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.1026, allocations: 19.92 kB / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.1026, allocations: 4 kB / 495 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.1026, allocations: 7.938 kB / 495 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1026, allocations: 7.922 kB / 495 MB, free: 6.246 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 6.607e-05/0.1027, allocations: 117.8 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.1027, allocations: 7.891 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.103, allocations: 109.9 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.103, allocations: 3.984 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.103, allocations: 0 / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.103, allocations: 0 / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.1034, allocations: 358.5 kB / 495.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1034, allocations: 0 / 495.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.1035, allocations: 15.98 kB / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1035, allocations: 0 / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1035, allocations: 0 / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1035, allocations: 3.938 kB / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1035, allocations: 0 / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1037, allocations: 199.4 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.1038, allocations: 81.02 kB / 495.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1038, allocations: 8.172 kB / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.1038, allocations: 11.94 kB / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1039, allocations: 7.938 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1039, allocations: 11.98 kB / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.031e-05/0.104, allocations: 107.3 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.104, allocations: 0 / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.1042, allocations: 12 kB / 496 MB, free: 5.105 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.001071/0.1053, allocations: 1.021 MB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1055, allocations: 63.95 kB / 497.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1055, allocations: 4 kB / 497.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.1056, allocations: 31.92 kB / 497.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1058, allocations: 23.86 kB / 497.2 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008728/0.1067, allocations: 0.5746 MB / 497.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.107, allocations: 0.7043 MB / 498.4 MB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.107, allocations: 27.36 kB / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.107, allocations: 0 / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.658/2.765, allocations: 1.635 MB / 0.4884 GB, free: 0.9609 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches