Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.0009715/0.0009715, allocations: 175.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.151/1.151, 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.0006665/0.0006667, allocations: 86.36 kB / 271.2 MB, free: 8.262 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.2881/0.2881, allocations: 43.57 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 12 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09463, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001547/0.09621, allocations: 1.275 MB / 492.2 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000494/0.09672, allocations: 303.8 kB / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.09677, allocations: 4 kB / 492.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.09698, allocations: 79.81 kB / 492.6 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.09712, allocations: 75.78 kB / 492.7 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.09733, allocations: 55.92 kB / 492.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.09745, allocations: 67.81 kB / 492.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.09755, allocations: 16.17 kB / 492.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.0976, allocations: 31.84 kB / 492.8 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.841e-05/0.09769, allocations: 47.81 kB / 492.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.09772, allocations: 4 kB / 492.9 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.68e-05/0.09778, allocations: 28 kB / 492.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.09783, allocations: 23.92 kB / 492.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.09789, allocations: 57.42 kB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.09801, allocations: 68.19 kB / 493 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.09802, allocations: 3.984 kB / 493 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09803, allocations: 0 / 493 MB, free: 8.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.09804, allocations: 0 / 493 MB, free: 8.648 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004013/0.09844, allocations: 399 kB / 493.4 MB, free: 8.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.09849, allocations: 12.03 kB / 493.4 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.09852, allocations: 38.75 kB / 493.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.09856, allocations: 12.75 kB / 493.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.09873, allocations: 200.1 kB / 493.7 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.09875, allocations: 4.375 kB / 493.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.09877, allocations: 4.125 kB / 493.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.0989, allocations: 61.61 kB / 493.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.09892, allocations: 4 kB / 493.8 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.09894, allocations: 4 kB / 493.8 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.09895, allocations: 0 / 493.8 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.09906, allocations: 35.97 kB / 493.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.09939, allocations: 308.7 kB / 494.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.779e-05/0.0995, allocations: 54.5 kB / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.09955, allocations: 20.98 kB / 494.2 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.09958, allocations: 3.984 kB / 494.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.09961, allocations: 38.56 kB / 494.2 MB, free: 7.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.09961, allocations: 0 / 494.2 MB, free: 7.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000573/0.1002, allocations: 193.1 kB / 494.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.1002, allocations: 51.41 kB / 494.5 MB, free: 7.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1004, allocations: 238.2 kB / 494.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1005, allocations: 33.7 kB / 494.7 MB, free: 6.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.1005, allocations: 108.1 kB / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1006, allocations: 27.64 kB / 494.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.1006, allocations: 3.938 kB / 494.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.1007, allocations: 322.8 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/0.1007, allocations: 23.98 kB / 495.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.1008, allocations: 31.98 kB / 495.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.101, allocations: 72.83 kB / 495.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.101, allocations: 0 / 495.3 MB, free: 6.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001978/0.1012, allocations: 117.5 kB / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1012, allocations: 7.938 kB / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1012, allocations: 0 / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1012, allocations: 0 / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1013, allocations: 19.98 kB / 495.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1013, allocations: 3.938 kB / 495.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.1014, allocations: 8 kB / 495.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1014, allocations: 4 kB / 495.5 MB, free: 6.004 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 (8): * Single equations (assignments): 8 * 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.103e-05/0.1015, allocations: 133.8 kB / 495.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.1015, allocations: 15.81 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.1018, allocations: 127.7 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1018, allocations: 0 / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1018, allocations: 7.938 kB / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1018, allocations: 7.984 kB / 495.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.1023, allocations: 402.5 kB / 496.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1023, allocations: 0 / 496.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-05/0.1023, allocations: 23.98 kB / 496.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1024, allocations: 3.938 kB / 496.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.1024, allocations: 0 / 496.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1024, allocations: 0 / 496.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1024, allocations: 4 kB / 496.2 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1026, allocations: 211.2 kB / 496.4 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.1027, allocations: 88.95 kB / 496.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1027, allocations: 4 kB / 496.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.1027, allocations: 11.98 kB / 496.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.1028, allocations: 4 kB / 496.5 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1028, allocations: 3.984 kB / 496.5 MB, free: 4.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1029, allocations: 168.2 kB / 496.7 MB, free: 4.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1029, allocations: 4 kB / 496.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.1032, allocations: 24 kB / 496.7 MB, free: 4.676 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 (8): * Single equations (assignments): 8 * 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.001117/0.1043, allocations: 1.051 MB / 497.7 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1045, allocations: 71.94 kB / 497.8 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1045, allocations: 0 / 497.8 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.143e-05/0.1046, allocations: 35.92 kB / 497.8 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.1049, allocations: 23.98 kB / 497.9 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.106, allocations: 0.8211 MB / 498.7 MB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1063, allocations: 0.716 MB / 499.4 MB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.1064, allocations: 35.42 kB / 499.4 MB, free: 1.863 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1064, allocations: 4 kB / 499.4 MB, free: 1.859 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/2.913, allocations: 2.122 MB / 0.4898 GB, free: 42 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches