Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",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.0007901/0.0007902, allocations: 173.7 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.124/1.124, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007161/0.0007161, allocations: 94.34 kB / 271.2 MB, free: 8.238 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.2838/0.2838, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 12 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.09406, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.001621/0.09572, allocations: 1.259 MB / 492.2 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004716/0.09621, allocations: 295.7 kB / 492.5 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.09626, allocations: 0 / 492.5 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.0965, allocations: 75.83 kB / 492.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.09664, allocations: 55.88 kB / 492.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.09683, allocations: 63.84 kB / 492.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.09695, allocations: 55.83 kB / 492.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.025e-05/0.09704, allocations: 11.98 kB / 492.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.09709, allocations: 27.91 kB / 492.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.09719, allocations: 39.83 kB / 492.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.09721, allocations: 4 kB / 492.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.09728, allocations: 31.98 kB / 492.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.09732, allocations: 23.92 kB / 492.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.09737, allocations: 49.5 kB / 492.9 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.09747, allocations: 60.2 kB / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.09749, allocations: 0 / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09749, allocations: 0 / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.0975, allocations: 0 / 493 MB, free: 8.738 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.0003893/0.0979, allocations: 395 kB / 493.3 MB, free: 8.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.09794, allocations: 16.02 kB / 493.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.09798, allocations: 30.75 kB / 493.4 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.09801, allocations: 8.844 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.09818, allocations: 204 kB / 493.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.09819, allocations: 384 / 493.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.09821, allocations: 384 / 493.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.09834, allocations: 53.61 kB / 493.6 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.09836, allocations: 4 kB / 493.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.09837, allocations: 4 kB / 493.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.09838, allocations: 4 kB / 493.7 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.09847, allocations: 23.98 kB / 493.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.09877, allocations: 272.9 kB / 493.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.09896, allocations: 50.5 kB / 494 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.09903, allocations: 20.94 kB / 494 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.09906, allocations: 0 / 494 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.09908, allocations: 34.56 kB / 494.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.09909, allocations: 0 / 494.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000491/0.09958, allocations: 161.1 kB / 494.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.09963, allocations: 55.41 kB / 494.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.0998, allocations: 206.2 kB / 494.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.09982, allocations: 25.7 kB / 494.5 MB, free: 6.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.09988, allocations: 104.1 kB / 494.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.0999, allocations: 19.7 kB / 494.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.09991, allocations: 0 / 494.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1, allocations: 326.8 kB / 494.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.1001, allocations: 23.98 kB / 495 MB, free: 6.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.1002, allocations: 23.98 kB / 495 MB, free: 6.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1003, allocations: 52.78 kB / 495 MB, free: 6.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1003, allocations: 0 / 495 MB, free: 6.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/0.1005, allocations: 93.58 kB / 495.1 MB, free: 6.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1005, allocations: 15.36 kB / 495.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1005, allocations: 0 / 495.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1005, allocations: 0 / 495.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.1006, allocations: 12.25 kB / 495.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1006, allocations: 0 / 495.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.1006, allocations: 11.98 kB / 495.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1007, allocations: 7.938 kB / 495.2 MB, free: 6.297 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 7.683e-05/0.1007, allocations: 129.8 kB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.1008, allocations: 7.906 kB / 495.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.101, allocations: 97.97 kB / 495.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.101, allocations: 4 kB / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.101, allocations: 0 / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.101, allocations: 4 kB / 495.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.1014, allocations: 366.4 kB / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1014, allocations: 4 kB / 495.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.1015, allocations: 8 kB / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1015, allocations: 8 kB / 495.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1015, allocations: 0 / 495.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1015, allocations: 3.938 kB / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1015, allocations: 0 / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.1017, allocations: 195.3 kB / 496 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.1018, allocations: 85.02 kB / 496.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1018, allocations: 288 / 496.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1018, allocations: 15.92 kB / 496.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1019, allocations: 4 kB / 496.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1019, allocations: 192 / 496.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.102, allocations: 168 kB / 496.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.102, allocations: 0 / 496.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.1022, allocations: 12 kB / 496.3 MB, free: 5.102 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.00108/0.1033, allocations: 1.023 MB / 497.3 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1035, allocations: 55.91 kB / 497.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1035, allocations: 0 / 497.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.1036, allocations: 27.98 kB / 497.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1039, allocations: 19.92 kB / 497.4 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.1049, allocations: 0.7191 MB / 498.1 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1051, allocations: 0.7043 MB / 498.8 MB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.1052, allocations: 27.42 kB / 498.8 MB, free: 2.465 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1052, allocations: 0 / 498.8 MB, free: 2.465 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.669/2.774, allocations: 1.876 MB / 0.489 GB, free: 0.5859 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches