Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",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.0008339/0.0008339, 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.132/1.132, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007376/0.0007375, allocations: 78.42 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.2856/0.2856, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 12 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09605, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001596/0.09769, allocations: 1.275 MB / 492.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004719/0.09817, allocations: 303.7 kB / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.09822, allocations: 4 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.09846, allocations: 79.81 kB / 492.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.0986, allocations: 71.86 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.0988, allocations: 63.86 kB / 492.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.09892, allocations: 67.8 kB / 492.8 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.09902, allocations: 16.17 kB / 492.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.09907, allocations: 31.84 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.09916, allocations: 47.89 kB / 492.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.09918, allocations: 0 / 492.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.258e-05/0.09925, allocations: 31.92 kB / 492.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.09929, allocations: 27.91 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.09934, allocations: 45.52 kB / 493 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.09946, allocations: 72.17 kB / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09947, allocations: 0 / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09948, allocations: 0 / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.09948, allocations: 0 / 493 MB, free: 8.434 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.0004146/0.0999, allocations: 414.9 kB / 493.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.09995, allocations: 12.03 kB / 493.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.09999, allocations: 34.75 kB / 493.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.1, allocations: 12.75 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.1002, allocations: 196.1 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1002, allocations: 4.375 kB / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.1002, allocations: 8.125 kB / 493.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1004, allocations: 61.67 kB / 493.8 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1004, allocations: 0 / 493.8 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1004, allocations: 4 kB / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1004, allocations: 0 / 493.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-05/0.1005, allocations: 43.91 kB / 493.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.1008, allocations: 300.7 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1009, allocations: 58.5 kB / 494.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.101, allocations: 20.97 kB / 494.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.101, allocations: 4 kB / 494.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.1011, allocations: 30.56 kB / 494.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1011, allocations: 0 / 494.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005985/0.1017, allocations: 205.1 kB / 494.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1017, allocations: 51.41 kB / 494.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1019, allocations: 246.1 kB / 494.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.102, allocations: 33.7 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.102, allocations: 104.1 kB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.102, allocations: 27.7 kB / 494.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.1021, allocations: 4 kB / 494.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1022, allocations: 322.8 kB / 495.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.1023, allocations: 23.98 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.58e-05/0.1023, allocations: 35.98 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1025, allocations: 60.83 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1025, allocations: 0 / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002051/0.1027, allocations: 117.4 kB / 495.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1027, allocations: 7.938 kB / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1027, allocations: 0 / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1027, allocations: 0 / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.308e-05/0.1028, allocations: 19.98 kB / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1028, allocations: 3.938 kB / 495.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.1029, allocations: 11.98 kB / 495.5 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1029, allocations: 4 kB / 495.5 MB, free: 5.773 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 9.624e-05/0.103, allocations: 129.8 kB / 495.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1031, allocations: 15.81 kB / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.1033, allocations: 131 kB / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1033, allocations: 4 kB / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1033, allocations: 3.938 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1033, allocations: 4 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.1038, allocations: 390.5 kB / 496.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1038, allocations: 0 / 496.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.1039, allocations: 24.38 kB / 496.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1039, allocations: 3.938 kB / 496.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1039, allocations: 7.984 kB / 496.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1039, allocations: 4.469 kB / 496.2 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1039, allocations: 0 / 496.2 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1042, allocations: 223.2 kB / 496.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.1042, allocations: 84.95 kB / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.1042, allocations: 8 kB / 496.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.1043, allocations: 7.984 kB / 496.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1043, allocations: 4 kB / 496.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1044, allocations: 0 / 496.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1045, allocations: 176.2 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1045, allocations: 4 kB / 496.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.1047, allocations: 20 kB / 496.7 MB, free: 4.449 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.001178/0.1059, allocations: 1.047 MB / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1061, allocations: 67.91 kB / 497.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1061, allocations: 0 / 497.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.1062, allocations: 43.97 kB / 497.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1065, allocations: 15.92 kB / 497.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.1077, allocations: 0.825 MB / 498.7 MB, free: 2.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.108, allocations: 0.716 MB / 499.4 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.1081, allocations: 35.42 kB / 499.4 MB, free: 1.633 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1081, allocations: 0 / 499.4 MB, free: 1.633 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.775/2.883, allocations: 2.124 MB / 0.4898 GB, free: 42.32 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches