Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.0008006/0.0008007, allocations: 175 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.138/1.138, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0006773/0.0006773, allocations: 86.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.2723/0.2723, allocations: 43.56 MB / 363.1 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003506, allocations: 16 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09257, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001542/0.09415, allocations: 1.255 MB / 492.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004515/0.09461, allocations: 287.8 kB / 492.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.09466, allocations: 0 / 492.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.09483, allocations: 27.92 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.09494, allocations: 23.86 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.09514, allocations: 67.91 kB / 492.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.09525, allocations: 47.84 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.09533, allocations: 15.98 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.09537, allocations: 15.86 kB / 492.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.09544, allocations: 23.91 kB / 492.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.09546, allocations: 4 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.265e-05/0.09552, allocations: 16 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.09556, allocations: 15.92 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.0956, allocations: 41.58 kB / 492.8 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.397e-05/0.0957, allocations: 52.2 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09571, allocations: 0 / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09572, allocations: 0 / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.09572, allocations: 0 / 492.8 MB, free: 8.656 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.0003691/0.0961, allocations: 375.2 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.09614, allocations: 19.97 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.09618, allocations: 34.69 kB / 493.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.0962, allocations: 8.844 kB / 493.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.09635, allocations: 192.1 kB / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.09637, allocations: 384 / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.09639, allocations: 384 / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.09651, allocations: 53.62 kB / 493.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.09653, allocations: 0 / 493.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.09654, allocations: 0 / 493.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.09655, allocations: 8 kB / 493.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.09665, allocations: 23.98 kB / 493.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.09693, allocations: 272.8 kB / 493.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.0971, allocations: 46.56 kB / 493.8 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.09716, allocations: 24.94 kB / 493.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.09718, allocations: 0 / 493.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.0972, allocations: 30.56 kB / 493.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.09721, allocations: 0 / 493.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004853/0.0977, allocations: 161.2 kB / 494 MB, free: 7.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.09774, allocations: 51.41 kB / 494.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.09786, allocations: 145.7 kB / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.09787, allocations: 25.7 kB / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.09793, allocations: 100.1 kB / 494.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.09795, allocations: 7.812 kB / 494.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.09797, allocations: 8 kB / 494.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.09806, allocations: 318.8 kB / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.09814, allocations: 23.98 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.0982, allocations: 23.98 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.09833, allocations: 48.84 kB / 494.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.09833, allocations: 0 / 494.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001774/0.09852, allocations: 93.81 kB / 494.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.09854, allocations: 7.594 kB / 494.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.09855, allocations: 4 kB / 494.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.09857, allocations: 7.938 kB / 494.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.09863, allocations: 19.92 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.09864, allocations: 0 / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/0.09869, allocations: 7.938 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.0987, allocations: 7.938 kB / 494.9 MB, free: 6.324 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 8.245e-05/0.09879, allocations: 113.8 kB / 495 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.09882, allocations: 8.188 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.09903, allocations: 102 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.09904, allocations: 3.984 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.09905, allocations: 4 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.09906, allocations: 3.938 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.09941, allocations: 354.4 kB / 495.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.09943, allocations: 0 / 495.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.09948, allocations: 12 kB / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.09949, allocations: 7.984 kB / 495.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.0995, allocations: 0 / 495.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.09951, allocations: 3.938 kB / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.09951, allocations: 0 / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.0997, allocations: 187.4 kB / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.09974, allocations: 85 kB / 495.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.09976, allocations: 8.188 kB / 495.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.09982, allocations: 11.94 kB / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.09986, allocations: 3.984 kB / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.09987, allocations: 4 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.746e-05/0.09993, allocations: 107.3 kB / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09994, allocations: 0 / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.1001, allocations: 16 kB / 495.9 MB, free: 5.203 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.0009487/0.1011, allocations: 1.009 MB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.1013, allocations: 51.97 kB / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1013, allocations: 0 / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.709e-05/0.1014, allocations: 27.98 kB / 497 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.1016, allocations: 31.8 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.1024, allocations: 0.5629 MB / 497.6 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.1027, allocations: 0.6926 MB / 498.3 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.1027, allocations: 23.44 kB / 498.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1027, allocations: 0 / 498.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.687/2.789, allocations: 1.603 MB / 499.9 MB, free: 1.141 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches