Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",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.0009829/0.0009828, allocations: 175.2 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.168/1.168, 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.0007001/0.0007001, allocations: 83.67 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.2703/0.2703, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 16 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.08484, allocations: 58.84 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001538/0.08641, allocations: 1.255 MB / 492.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.08689, allocations: 291.8 kB / 492.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.08694, allocations: 0 / 492.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.08713, allocations: 31.92 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.08726, allocations: 31.84 kB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.08746, allocations: 59.92 kB / 492.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.08757, allocations: 47.84 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.08766, allocations: 15.98 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/0.0877, allocations: 23.86 kB / 492.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.08775, allocations: 19.91 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.08778, allocations: 4 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-05/0.08784, allocations: 16 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.08788, allocations: 15.92 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.08792, allocations: 45.52 kB / 492.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.08804, allocations: 64.17 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.08805, allocations: 0 / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08805, allocations: 0 / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.08806, allocations: 0 / 492.8 MB, free: 8.621 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.0003536/0.08842, allocations: 379.1 kB / 493.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.08846, allocations: 12.03 kB / 493.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.0885, allocations: 38.73 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.08853, allocations: 8.844 kB / 493.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.08868, allocations: 180.2 kB / 493.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.0887, allocations: 4.375 kB / 493.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.08872, allocations: 8.281 kB / 493.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.08884, allocations: 61.55 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.08886, allocations: 0 / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.08887, allocations: 0 / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.08888, allocations: 0 / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.17e-05/0.08897, allocations: 23.98 kB / 493.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.08925, allocations: 276.8 kB / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.08944, allocations: 54.5 kB / 493.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.0895, allocations: 24.92 kB / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.08952, allocations: 0 / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.08954, allocations: 30.56 kB / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.08955, allocations: 0 / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004913/0.09004, allocations: 165.3 kB / 494.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.09008, allocations: 51.41 kB / 494.1 MB, free: 7.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.09022, allocations: 169.7 kB / 494.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.09024, allocations: 25.7 kB / 494.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.09029, allocations: 92.14 kB / 494.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.09032, allocations: 23.73 kB / 494.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.09033, allocations: 0 / 494.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.09043, allocations: 326.7 kB / 494.7 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.09051, allocations: 27.98 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.09057, allocations: 19.98 kB / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.09069, allocations: 52.78 kB / 494.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.0907, allocations: 0 / 494.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001725/0.09088, allocations: 93.75 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.0909, allocations: 11.59 kB / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.09091, allocations: 0 / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.09092, allocations: 0 / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.09098, allocations: 15.94 kB / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.09099, allocations: 0 / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.09104, allocations: 19.89 kB / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.09105, allocations: 7.938 kB / 495 MB, free: 6.238 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 6.645e-05/0.09113, allocations: 113.8 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.09116, allocations: 11.84 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.09137, allocations: 102 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.09138, allocations: 0 / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.09139, allocations: 0 / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.09139, allocations: 0 / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.09175, allocations: 354.5 kB / 495.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.09176, allocations: 4 kB / 495.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.09183, allocations: 15.98 kB / 495.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.09183, allocations: 0 / 495.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.09185, allocations: 4 kB / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.09185, allocations: 3.938 kB / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.09186, allocations: 0 / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.09205, allocations: 183.7 kB / 495.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.09211, allocations: 85 kB / 495.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.09213, allocations: 8 kB / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.0922, allocations: 11.94 kB / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.09223, allocations: 7.922 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.09224, allocations: 4 kB / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.154e-05/0.09234, allocations: 130.7 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09235, allocations: 0 / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000212/0.09256, allocations: 20 kB / 496 MB, free: 5.098 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.001028/0.0936, allocations: 1.012 MB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.09377, allocations: 55.91 kB / 497.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.09378, allocations: 0 / 497.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.09385, allocations: 31.98 kB / 497.1 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.0002692/0.09413, allocations: 19.92 kB / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008671/0.095, allocations: 0.6256 MB / 497.8 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.09523, allocations: 0.6926 MB / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.09528, allocations: 31.42 kB / 498.5 MB, free: 2.566 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.09529, allocations: 0 / 498.5 MB, free: 2.566 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.601/2.696, allocations: 1.708 MB / 0.4885 GB, free: 0.8555 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches