Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1796/0.1796, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002212/0.0002213, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.08799, allocations: 63.56 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001577/0.0896, allocations: 1.326 MB / 484.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000822/0.09044, allocations: 0.5185 MB / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.09048, allocations: 3.938 kB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.09065, allocations: 23.86 kB / 485 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.09082, allocations: 55.83 kB / 485.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.09108, allocations: 103.3 kB / 485.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.09121, allocations: 59.83 kB / 485.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.0913, allocations: 23.92 kB / 485.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.855e-05/0.09134, allocations: 19.88 kB / 485.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.0914, allocations: 23.84 kB / 485.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.09142, allocations: 0 / 485.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.0915, allocations: 31.92 kB / 485.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.09154, allocations: 8 kB / 485.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.09158, allocations: 45.52 kB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.09171, allocations: 76.05 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.09172, allocations: 0 / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09173, allocations: 4 kB / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.09174, allocations: 0 / 485.5 MB, free: 1.738 MB / 350.1 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.0003758/0.09212, allocations: 383.2 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.09216, allocations: 8.875 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.0922, allocations: 34.75 kB / 485.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.09222, allocations: 8.844 kB / 485.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.09238, allocations: 192.1 kB / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.0924, allocations: 384 / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.09242, allocations: 8.375 kB / 486.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.09254, allocations: 57.61 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.09256, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.09257, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.09258, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.09268, allocations: 27.98 kB / 486.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.093, allocations: 284.9 kB / 486.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.09318, allocations: 50.5 kB / 486.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.09325, allocations: 16.94 kB / 486.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.09327, allocations: 0 / 486.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.0933, allocations: 42.56 kB / 486.6 MB, free: 488 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.0933, allocations: 0 / 486.6 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000538/0.09384, allocations: 177.2 kB / 486.7 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.09389, allocations: 51.41 kB / 486.8 MB, free: 240 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.09401, allocations: 152.6 kB / 486.9 MB, free: 76 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.09403, allocations: 25.7 kB / 487 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.0941, allocations: 96.12 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.09412, allocations: 15.72 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.09415, allocations: 13.72 kB / 487.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.09425, allocations: 326.8 kB / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.009e-05/0.09434, allocations: 23.98 kB / 487.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.098e-05/0.09443, allocations: 27.97 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.09459, allocations: 76.89 kB / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.0946, allocations: 0 / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001927/0.0948, allocations: 89.58 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.09482, allocations: 14.27 kB / 487.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.09483, allocations: 0 / 487.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.09484, allocations: 4 kB / 487.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.09491, allocations: 16 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.09492, allocations: 0 / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.09498, allocations: 11.92 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.09499, allocations: 3.938 kB / 487.7 MB, free: 15.31 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.09507, allocations: 121.8 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.09511, allocations: 7.906 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.09535, allocations: 106 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.09537, allocations: 0 / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.09537, allocations: 0 / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.09538, allocations: 4 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.09579, allocations: 366.4 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.09581, allocations: 0 / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.09587, allocations: 15.98 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.09588, allocations: 0 / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.0959, allocations: 4 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.0959, allocations: 3.938 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.09591, allocations: 0 / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.09614, allocations: 199.5 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.0962, allocations: 89 kB / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.09622, allocations: 4 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.0963, allocations: 11.94 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.09634, allocations: 7.984 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.09635, allocations: 0 / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.817e-05/0.09643, allocations: 117.7 kB / 488.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09644, allocations: 0 / 488.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.09668, allocations: 11.98 kB / 488.7 MB, free: 14.16 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/0.09787, allocations: 1.018 MB / 489.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.09807, allocations: 67.91 kB / 489.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.09809, allocations: 0 / 489.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.529e-05/0.09818, allocations: 27.98 kB / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.09848, allocations: 27.86 kB / 489.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.09993, allocations: 1.499 MB / 491.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.1002, allocations: 0.6887 MB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.043e-05/0.1002, allocations: 20.05 kB / 492.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.1003, allocations: 23.42 kB / 492.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1003, allocations: 0 / 492.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01099/0.1113, allocations: 2.163 MB / 494.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.1115, allocations: 241.8 kB / 494.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.815, allocations: 0 / 494.5 MB, free: 8.477 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches