Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001554/0.001554, allocations: 114.4 kB / 17.78 MB, free: 5.285 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.001797/0.001797, allocations: 183 kB / 18.71 MB, free: 4.363 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.471/1.471, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2381/0.2381, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3473, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002681/0.35, allocations: 1.581 MB / 0.52 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006618/0.3507, allocations: 414.4 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.3507, allocations: 1.438 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.351, allocations: 105.7 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.3512, allocations: 81.95 kB / 0.5206 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.3515, allocations: 115 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3516, allocations: 80.73 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.3517, allocations: 14.61 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.3518, allocations: 43.31 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3519, allocations: 72.62 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3519, allocations: 3.438 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.352, allocations: 38.61 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.3521, allocations: 34.2 kB / 0.521 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.3521, allocations: 31.28 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3523, allocations: 111.1 kB / 0.5211 GB, free: 1.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3523, allocations: 1.375 kB / 0.5211 GB, free: 1.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3523, allocations: 0 / 0.5211 GB, free: 1.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3523, allocations: 0 / 0.5211 GB, free: 1.648 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.0003705/0.3527, allocations: 416.8 kB / 0.5215 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3528, allocations: 13.83 kB / 0.5215 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.302e-05/0.3528, allocations: 32.53 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.3528, allocations: 13.88 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.353, allocations: 203.7 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.353, allocations: 2.531 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.353, allocations: 11 kB / 0.5218 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3531, allocations: 52.36 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3532, allocations: 1.953 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3532, allocations: 3.938 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3532, allocations: 5.156 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.3533, allocations: 30.33 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.3536, allocations: 312.7 kB / 0.5221 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.924e-05/0.3537, allocations: 44.91 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.3538, allocations: 22.7 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3538, allocations: 6.125 kB / 0.5222 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.3538, allocations: 30.56 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.3538, allocations: 1.281 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009262/0.3548, allocations: 246.7 kB / 0.5225 GB, free: 424 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.3548, allocations: 57.22 kB / 0.5225 GB, free: 356 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.355, allocations: 234 kB / 0.5228 GB, free: 216 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.355, allocations: 32.03 kB / 0.5228 GB, free: 180 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.3551, allocations: 114.1 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.3551, allocations: 28.64 kB / 0.5229 GB, free: 48 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.3552, allocations: 21.25 kB / 0.5229 GB, free: 28 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3553, allocations: 323.6 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.3554, allocations: 33.81 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-05/0.3555, allocations: 31.55 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.3557, allocations: 70.58 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3557, allocations: 1.156 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002321/0.3559, allocations: 110 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.356, allocations: 4.719 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.356, allocations: 8 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.356, allocations: 1.656 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3561, allocations: 16.8 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3561, allocations: 5.625 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.3562, allocations: 8.156 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3562, allocations: 2.219 kB / 0.5235 GB, free: 15.59 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 0.0001041/0.3563, allocations: 133.1 kB / 0.5237 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.3563, allocations: 14.75 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.3567, allocations: 137.1 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3567, allocations: 0.5625 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.3567, allocations: 5.125 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3567, allocations: 4.688 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.3573, allocations: 421.3 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3573, allocations: 3.938 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.3574, allocations: 21.97 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3574, allocations: 0 / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3574, allocations: 1.5 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3574, allocations: 2.047 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3574, allocations: 80 / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.3577, allocations: 226.9 kB / 0.5245 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.3578, allocations: 92.78 kB / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3578, allocations: 1.281 kB / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.3579, allocations: 5.406 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.3579, allocations: 10.14 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.3579, allocations: 1.969 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.3581, allocations: 184.7 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3581, allocations: 0 / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3584, allocations: 20.5 kB / 0.5248 GB, free: 14.62 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.00152/0.3599, allocations: 1.099 MB / 0.5258 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.3602, allocations: 72.42 kB / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3602, allocations: 3.938 kB / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3603, allocations: 37.45 kB / 0.5259 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3607, allocations: 21.2 kB / 0.526 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.3627, allocations: 1.772 MB / 0.5277 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.363, allocations: 0.7094 MB / 0.5284 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.731e-05/0.3631, allocations: 25.36 kB / 0.5284 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.3631, allocations: 41.47 kB / 0.5284 GB, free: 11.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3631, allocations: 0 / 0.5284 GB, free: 11.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.3844, allocations: 3.275 MB / 0.5316 GB, free: 10.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/8.013, allocations: 6.734 kB / 0.5317 GB, free: 10.15 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time