Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.202/0.202, allocations: 44.18 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3359, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002642/0.3386, allocations: 1.58 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006789/0.3393, allocations: 407.3 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.3394, allocations: 1.312 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.3397, allocations: 105.3 kB / 0.5205 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.3399, allocations: 80.78 kB / 0.5206 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3402, allocations: 90.56 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.3403, allocations: 78.84 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3404, allocations: 14.48 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.3405, allocations: 42.09 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3406, allocations: 64.67 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3406, allocations: 2.656 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.3407, allocations: 44.27 kB / 0.5209 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.3408, allocations: 26.45 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.3408, allocations: 33.44 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.341, allocations: 114.7 kB / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3411, allocations: 1.469 kB / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3411, allocations: 0 / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.3411, allocations: 0 / 0.521 GB, free: 1.672 MB / 382.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.0003901/0.3415, allocations: 417.1 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3415, allocations: 9.156 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.3415, allocations: 36.8 kB / 0.5215 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.3416, allocations: 15.12 kB / 0.5215 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3417, allocations: 202.5 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3417, allocations: 1.531 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.3418, allocations: 7.469 kB / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3419, allocations: 64.11 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3419, allocations: 0.75 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3419, allocations: 1.125 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3419, allocations: 0 / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.342, allocations: 28.88 kB / 0.5218 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.3423, allocations: 313.6 kB / 0.5221 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.235e-05/0.3424, allocations: 42.58 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.3425, allocations: 19.16 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3425, allocations: 1.516 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.3425, allocations: 32.53 kB / 0.5222 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3425, allocations: 4 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007744/0.3433, allocations: 216.3 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.3434, allocations: 56.92 kB / 0.5225 GB, free: 396 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3436, allocations: 238.4 kB / 0.5227 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.3436, allocations: 29.7 kB / 0.5227 GB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.3436, allocations: 110.8 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.3437, allocations: 29.25 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3437, allocations: 24.52 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3438, allocations: 327.4 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.3439, allocations: 30.58 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.344, allocations: 23.27 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.3442, allocations: 63.73 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3442, allocations: 0 / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001989/0.3444, allocations: 98.52 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3444, allocations: 4.688 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3444, allocations: 0 / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3444, allocations: 1.219 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3445, allocations: 20.75 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3445, allocations: 10.23 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.3446, allocations: 3.312 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3446, allocations: 11.52 kB / 0.5234 GB, free: 15.63 MB / 398.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 9.382e-05/0.3447, allocations: 127.8 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.3447, allocations: 13.66 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.345, allocations: 124.1 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.345, allocations: 1.281 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.345, allocations: 12.72 kB / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3451, allocations: 1.156 kB / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.3456, allocations: 400 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3456, allocations: 3.938 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.3457, allocations: 21.55 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3457, allocations: 1.125 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.3457, allocations: 1.125 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3457, allocations: 9.875 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3457, allocations: 5.156 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.346, allocations: 207.2 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.346, allocations: 93.02 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.346, allocations: 2 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.3461, allocations: 12.95 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.3462, allocations: 5.266 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.3462, allocations: 2.984 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.3463, allocations: 186.8 kB / 0.5246 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3463, allocations: 1.594 kB / 0.5246 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.3466, allocations: 22.94 kB / 0.5246 GB, free: 14.66 MB / 398.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.001448/0.3481, allocations: 1.079 MB / 0.5257 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3483, allocations: 68.03 kB / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3483, allocations: 0 / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.3484, allocations: 36.19 kB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3487, allocations: 23.16 kB / 0.5258 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.3506, allocations: 1.72 MB / 0.5275 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.3509, allocations: 0.7157 MB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.466e-05/0.351, allocations: 13.31 kB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.3511, allocations: 33.23 kB / 0.5282 GB, free: 11.72 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3511, allocations: 4 kB / 0.5282 GB, free: 11.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.369, allocations: 3.221 MB / 0.5314 GB, free: 10.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.995, allocations: 13.8 kB / 0.5314 GB, free: 10.27 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.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