Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",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.001382/0.001382, allocations: 114.4 kB / 17.78 MB, free: 5.133 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.001489/0.001489, allocations: 187 kB / 18.71 MB, free: 4.215 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.4/1.4, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2142/0.2142, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 68.12 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3569, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002423/0.3594, allocations: 1.562 MB / 0.52 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005848/0.36, allocations: 395.6 kB / 0.5203 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.36, allocations: 1.25 kB / 0.5203 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.3602, allocations: 33.09 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.3604, allocations: 37.88 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.3606, allocations: 88.73 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3608, allocations: 57.81 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.3609, allocations: 12.94 kB / 0.5206 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.3609, allocations: 18.16 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.361, allocations: 24.2 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.361, allocations: 2.156 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.3611, allocations: 30.28 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.3611, allocations: 19.42 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.3611, allocations: 29.33 kB / 0.5207 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.3613, allocations: 77.44 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3613, allocations: 0 / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3613, allocations: 1.125 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3613, allocations: 0 / 0.5208 GB, free: 1.754 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003494/0.3617, allocations: 380.3 kB / 0.5211 GB, free: 1.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3617, allocations: 13.47 kB / 0.5211 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.346e-05/0.3617, allocations: 32.55 kB / 0.5212 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.3618, allocations: 8.656 kB / 0.5212 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3619, allocations: 198.3 kB / 0.5214 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-06/0.3619, allocations: 2.219 kB / 0.5214 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3619, allocations: 6.719 kB / 0.5214 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3621, allocations: 48.42 kB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3621, allocations: 1.125 kB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3621, allocations: 0.8438 kB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3621, allocations: 5.25 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.7e-05/0.3622, allocations: 20.83 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.3625, allocations: 278.7 kB / 0.5217 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.3626, allocations: 41.17 kB / 0.5217 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.3627, allocations: 16.5 kB / 0.5218 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3627, allocations: 5.781 kB / 0.5218 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.3627, allocations: 32.39 kB / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3628, allocations: 0 / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004906/0.3632, allocations: 140.5 kB / 0.5219 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.836e-05/0.3633, allocations: 52.11 kB / 0.522 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3634, allocations: 172.7 kB / 0.5221 GB, free: 440 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.3634, allocations: 25.7 kB / 0.5222 GB, free: 408 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.3635, allocations: 94.98 kB / 0.5223 GB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3635, allocations: 18.88 kB / 0.5223 GB, free: 300 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.3635, allocations: 15.05 kB / 0.5223 GB, free: 284 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.3636, allocations: 324.4 kB / 0.5226 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.3637, allocations: 18.62 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.3637, allocations: 26.67 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.3639, allocations: 42.73 kB / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3639, allocations: 0 / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001825/0.3641, allocations: 80.94 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3641, allocations: 5.812 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.3641, allocations: 1.469 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3641, allocations: 0 / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.3642, allocations: 16.97 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3642, allocations: 3.938 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.3642, allocations: 9.109 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3643, allocations: 9.75 kB / 0.5228 GB, free: 15.86 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 (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.482e-05/0.3643, allocations: 117 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.3644, allocations: 9.344 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.3646, allocations: 90.22 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.3646, allocations: 7.984 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3646, allocations: 1.797 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3646, allocations: 1.094 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.3651, allocations: 355.3 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3651, allocations: 0 / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.3651, allocations: 12.55 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3651, allocations: 1.797 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.3652, allocations: 0 / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3652, allocations: 9.031 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3652, allocations: 0 / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.3654, allocations: 177.8 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.3654, allocations: 84 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3655, allocations: 1.188 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.3656, allocations: 9.078 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.3656, allocations: 7.844 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3656, allocations: 5.094 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.3658, allocations: 126.9 kB / 0.5238 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3658, allocations: 0 / 0.5238 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.366, allocations: 15.67 kB / 0.5238 GB, free: 14.98 MB / 398.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.00121/0.3672, allocations: 1.008 MB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.3674, allocations: 49.23 kB / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3674, allocations: 0 / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.3675, allocations: 23.48 kB / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.3678, allocations: 17.77 kB / 0.5249 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3694, allocations: 1.475 MB / 0.5263 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3697, allocations: 0.6935 MB / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.578e-05/0.3697, allocations: 6.141 kB / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.3698, allocations: 26.67 kB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3698, allocations: 0 / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.3873, allocations: 2.591 MB / 0.5295 GB, free: 11.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/8.024, allocations: 10.08 kB / 0.5296 GB, free: 11.22 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time