Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009038/0.0009037, allocations: 91.48 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 200.1 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1872/0.1872, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002718, allocations: 11.98 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.001928/0.1207, allocations: 1.334 MB / 484.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009115/0.1216, allocations: 0.5262 MB / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.1217, allocations: 0 / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.122, allocations: 103.8 kB / 485.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.1222, allocations: 103.7 kB / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1225, allocations: 83.34 kB / 485.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1226, allocations: 79.81 kB / 485.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.1228, allocations: 23.97 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.451e-05/0.1228, allocations: 35.86 kB / 485.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1229, allocations: 63.8 kB / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.123, allocations: 0 / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.574e-05/0.1231, allocations: 43.98 kB / 485.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.1231, allocations: 23.91 kB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.1232, allocations: 65.33 kB / 485.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1234, allocations: 103.9 kB / 485.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1234, allocations: 4 kB / 485.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1234, allocations: 4 kB / 485.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1234, allocations: 4 kB / 485.8 MB, free: 1.473 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004609/0.1239, allocations: 407 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1239, allocations: 8.875 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.124, allocations: 34.73 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.124, allocations: 16.75 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1242, allocations: 208.8 kB / 486.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1242, allocations: 4.375 kB / 486.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1242, allocations: 8.375 kB / 486.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1244, allocations: 61.56 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1244, allocations: 0 / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1244, allocations: 0 / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1244, allocations: 3.984 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1245, allocations: 31.98 kB / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.1249, allocations: 296.8 kB / 486.8 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.125, allocations: 54.48 kB / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.1251, allocations: 16.86 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1251, allocations: 0 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1251, allocations: 34.56 kB / 486.9 MB, free: 140 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1252, allocations: 7.938 kB / 486.9 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009144/0.1261, allocations: 265 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.1261, allocations: 51.41 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1264, allocations: 254.1 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1264, allocations: 29.7 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.1265, allocations: 112.1 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.1265, allocations: 31.55 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.1265, allocations: 9.719 kB / 487.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1266, allocations: 334.8 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.1267, allocations: 23.98 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.1268, allocations: 40.03 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.127, allocations: 64.84 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.127, allocations: 3.984 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002139/0.1272, allocations: 109.6 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1272, allocations: 4 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1272, allocations: 0 / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1273, allocations: 432 / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1274, allocations: 27.92 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1274, allocations: 3.938 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.1274, allocations: 15.98 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1275, allocations: 0 / 488.3 MB, free: 14.71 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 (8): * Single equations (assignments): 8 * 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 8.986e-05/0.1276, allocations: 133.8 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.1276, allocations: 11.81 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.1279, allocations: 127 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1279, allocations: 4 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1279, allocations: 3.938 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1279, allocations: 7.875 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.1284, allocations: 427.2 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1284, allocations: 0 / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.1285, allocations: 23.92 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1285, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1285, allocations: 8 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1285, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1285, allocations: 4 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1287, allocations: 212.6 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1288, allocations: 96.84 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1288, allocations: 0 / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.1289, allocations: 12 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1289, allocations: 11.98 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.129, allocations: 0 / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1291, allocations: 188.4 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1291, allocations: 0 / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1294, allocations: 27.94 kB / 489.6 MB, free: 13.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.001417/0.1308, allocations: 1.1 MB / 490.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.131, allocations: 71.94 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.131, allocations: 0 / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.1311, allocations: 43.98 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.1314, allocations: 23.92 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.1333, allocations: 1.784 MB / 492.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1335, allocations: 0.714 MB / 493.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.882e-05/0.1336, allocations: 12.97 kB / 493.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.1337, allocations: 39.42 kB / 493.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1337, allocations: 0 / 493.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.1461, allocations: 2.83 MB / 496.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.1463, allocations: 236.1 kB / 496.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/1.878, allocations: 3.938 kB / 496.4 MB, free: 6.586 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time