Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1",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.0008282/0.0008282, 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.143/1.143, 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.0007177/0.0007175, allocations: 89.11 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.2659/0.2659, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 16 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09266, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001636/0.09433, allocations: 1.259 MB / 492.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005005/0.09486, allocations: 287.8 kB / 492.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.09492, allocations: 0 / 492.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.09509, allocations: 23.86 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.09523, allocations: 23.92 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.09544, allocations: 63.86 kB / 492.6 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.09556, allocations: 51.89 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.344e-05/0.09566, allocations: 15.91 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.0957, allocations: 15.94 kB / 492.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.09576, allocations: 19.86 kB / 492.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.09578, allocations: 0 / 492.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.299e-05/0.09584, allocations: 27.92 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.09589, allocations: 11.98 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.09593, allocations: 41.58 kB / 492.8 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.09604, allocations: 52.2 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09605, allocations: 0 / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09606, allocations: 4 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.09607, allocations: 0 / 492.8 MB, free: 8.652 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.0003702/0.09645, allocations: 375.2 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.09649, allocations: 8.031 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.09653, allocations: 34.75 kB / 493.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.09656, allocations: 8.844 kB / 493.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.09672, allocations: 199.8 kB / 493.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.09674, allocations: 4.375 kB / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.09676, allocations: 384 / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.09688, allocations: 49.62 kB / 493.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.0969, allocations: 0 / 493.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.09691, allocations: 4 kB / 493.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.09692, allocations: 0 / 493.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.09702, allocations: 35.91 kB / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.09731, allocations: 268.9 kB / 493.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.09749, allocations: 42.56 kB / 493.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.09756, allocations: 28.94 kB / 493.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.09759, allocations: 3.938 kB / 493.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.09761, allocations: 30.56 kB / 493.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.09762, allocations: 0 / 493.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005128/0.09813, allocations: 161.2 kB / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.09818, allocations: 55.41 kB / 494.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.09829, allocations: 138.1 kB / 494.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.09832, allocations: 25.7 kB / 494.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.09837, allocations: 96.12 kB / 494.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.09839, allocations: 11.81 kB / 494.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.0984, allocations: 0 / 494.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.09851, allocations: 326.8 kB / 494.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.09859, allocations: 19.98 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.09866, allocations: 23.98 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.09879, allocations: 53.02 kB / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.0988, allocations: 0 / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001751/0.09898, allocations: 97.52 kB / 494.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.099, allocations: 8 kB / 494.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.09901, allocations: 0 / 494.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.09903, allocations: 3.938 kB / 494.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.09909, allocations: 19.92 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.09911, allocations: 0 / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.09915, allocations: 11.94 kB / 494.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.09917, allocations: 3.938 kB / 494.9 MB, free: 6.32 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.588e-05/0.09925, allocations: 117.8 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.09928, allocations: 11.89 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.09949, allocations: 93.91 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.09951, allocations: 4 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.09951, allocations: 0 / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.09952, allocations: 0 / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.0999, allocations: 350.5 kB / 495.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.09991, allocations: 0 / 495.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.09997, allocations: 15.98 kB / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.09998, allocations: 0 / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.09999, allocations: 7.938 kB / 495.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1, allocations: 7.938 kB / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1, allocations: 0 / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1002, allocations: 179.6 kB / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1003, allocations: 89 kB / 495.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1003, allocations: 4 kB / 495.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.1004, allocations: 11.94 kB / 495.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1004, allocations: 7.984 kB / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1004, allocations: 0 / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.645e-05/0.1005, allocations: 107.3 kB / 495.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1005, allocations: 0 / 495.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.1007, allocations: 15.98 kB / 495.9 MB, free: 5.211 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.001081/0.1018, allocations: 1.025 MB / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.102, allocations: 55.97 kB / 497 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.102, allocations: 0 / 497 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.1021, allocations: 31.92 kB / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1023, allocations: 19.92 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008651/0.1032, allocations: 0.5706 MB / 497.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1034, allocations: 0.6926 MB / 498.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.1035, allocations: 27.36 kB / 498.3 MB, free: 2.734 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1035, allocations: 0 / 498.3 MB, free: 2.734 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.578/2.682, allocations: 1.599 MB / 499.9 MB, free: 1.133 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches