Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7",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.000967/0.0009671, allocations: 175.4 kB / 16.72 MB, free: 5.051 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.113/1.113, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0006984/0.0006981, allocations: 97.02 kB / 271.2 MB, free: 8.242 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.2759/0.2759, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 12 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.08772, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001629/0.08939, allocations: 1.266 MB / 492.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005055/0.08992, allocations: 323.8 kB / 492.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.08998, allocations: 0 / 492.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.09046, allocations: 435.2 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.09074, allocations: 235.6 kB / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.09109, allocations: 143.7 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.09127, allocations: 131.7 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.09136, allocations: 15.97 kB / 493.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.09147, allocations: 99.8 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.09165, allocations: 163.7 kB / 493.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.09167, allocations: 0 / 493.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.94e-05/0.09174, allocations: 19.98 kB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.09183, allocations: 83.69 kB / 493.8 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.09191, allocations: 112.9 kB / 493.9 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.0921, allocations: 176 kB / 494.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09211, allocations: 0 / 494.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09211, allocations: 0 / 494.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.09212, allocations: 0 / 494.1 MB, free: 7.363 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.0005566/0.09268, allocations: 0.5988 MB / 494.7 MB, free: 6.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.09273, allocations: 12.03 kB / 494.7 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.09276, allocations: 30.75 kB / 494.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.09281, allocations: 40.47 kB / 494.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.09305, allocations: 300.1 kB / 495.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.09306, allocations: 4.359 kB / 495.1 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.09308, allocations: 4.375 kB / 495.1 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.09321, allocations: 53.62 kB / 495.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.09322, allocations: 0 / 495.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.09323, allocations: 0 / 495.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.09324, allocations: 4 kB / 495.1 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.516e-05/0.09333, allocations: 31.91 kB / 495.2 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.09377, allocations: 392.7 kB / 495.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/0.09386, allocations: 34.56 kB / 495.6 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.09391, allocations: 24.84 kB / 495.6 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.09394, allocations: 4 kB / 495.6 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.09397, allocations: 38.5 kB / 495.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.09398, allocations: 0 / 495.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002495/0.09423, allocations: 105.1 kB / 495.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.09427, allocations: 51.41 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000705/0.09498, allocations: 0.8693 MB / 496.7 MB, free: 4.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.095, allocations: 25.7 kB / 496.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.09515, allocations: 228.1 kB / 496.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.09517, allocations: 7.844 kB / 496.9 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.09518, allocations: 0 / 496.9 MB, free: 4.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.0953, allocations: 362.7 kB / 497.3 MB, free: 3.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.09535, allocations: 11.98 kB / 497.3 MB, free: 3.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.0954, allocations: 15.94 kB / 497.3 MB, free: 3.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.731e-05/0.09548, allocations: 36.83 kB / 497.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.09549, allocations: 7.938 kB / 497.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001371/0.09563, allocations: 89.22 kB / 497.4 MB, free: 3.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.09565, allocations: 8.094 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.09566, allocations: 0 / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.09568, allocations: 0 / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.09574, allocations: 8 kB / 497.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.09575, allocations: 0 / 497.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.0958, allocations: 7.984 kB / 497.5 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.09581, allocations: 0 / 497.5 MB, free: 3.766 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 (2): * Single equations (assignments): 2 * 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 0.0001541/0.09597, allocations: 209.7 kB / 497.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.09602, allocations: 51.36 kB / 497.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.09621, allocations: 108.7 kB / 497.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.09622, allocations: 0 / 497.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.09623, allocations: 4 kB / 497.8 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.09624, allocations: 0 / 497.8 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.09648, allocations: 289.5 kB / 498.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.09649, allocations: 0 / 498.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.09653, allocations: 8 kB / 498.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.09654, allocations: 8.016 kB / 498.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.09655, allocations: 0 / 498.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.09656, allocations: 0 / 498.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.09656, allocations: 0 / 498.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.09673, allocations: 194.9 kB / 498.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.09681, allocations: 112.7 kB / 498.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.09684, allocations: 4 kB / 498.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.09691, allocations: 4 kB / 498.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.09694, allocations: 3.984 kB / 498.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.09695, allocations: 7.938 kB / 498.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005226/0.09748, allocations: 0.655 MB / 499.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09749, allocations: 0 / 499.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.09771, allocations: 19.94 kB / 499.1 MB, free: 2.008 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 (2): * Single equations (assignments): 2 * 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.0009565/0.09867, allocations: 0.9812 MB / 0.4884 GB, free: 1.047 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.0988, allocations: 23.98 kB / 0.4884 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.09881, allocations: 0 / 0.4884 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.859e-05/0.09886, allocations: 15.98 kB / 0.4884 GB, free: 1.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.0992, allocations: 26.3 kB / 0.4884 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.158/0.2572, allocations: 2.303 MB / 0.4907 GB, free: 42.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2574, allocations: 0.8221 MB / 0.4915 GB, free: 42.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2575, allocations: 113.6 kB / 0.4916 GB, free: 42.01 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2576, allocations: 0 / 0.4916 GB, free: 42.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.686/2.944, allocations: 6.309 MB / 0.4978 GB, free: 40.81 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches