Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.001613/0.001614, 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.001932/0.001932, 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.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2196/0.2196, allocations: 44.18 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3511, allocations: 60.82 MB / 0.5184 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002721/0.3539, allocations: 1.568 MB / 0.52 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3554, allocations: 1.024 MB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.3555, allocations: 1.469 kB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.3557, allocations: 19.23 kB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.356, allocations: 49.97 kB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.3562, allocations: 110.7 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.3564, allocations: 59.8 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.3565, allocations: 8.859 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.3566, allocations: 31.39 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3567, allocations: 21.34 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3567, allocations: 7.75 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.812e-05/0.3568, allocations: 49.44 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.3569, allocations: 17.19 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.3569, allocations: 21.44 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3571, allocations: 88.81 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3571, allocations: 0.7031 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3571, allocations: 1.031 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3571, allocations: 0 / 0.5214 GB, free: 1.273 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.0004077/0.3575, allocations: 370.7 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3576, allocations: 17.59 kB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.3576, allocations: 36.53 kB / 0.5218 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.3576, allocations: 8.25 kB / 0.5218 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.3578, allocations: 193.7 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.3578, allocations: 2.312 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3579, allocations: 1.688 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.358, allocations: 66.59 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.358, allocations: 1.469 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.358, allocations: 0 / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3581, allocations: 4 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.664e-05/0.3582, allocations: 24.31 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.3585, allocations: 279.3 kB / 0.5224 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.3587, allocations: 46.47 kB / 0.5224 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.3588, allocations: 18.25 kB / 0.5225 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3588, allocations: 1.828 kB / 0.5225 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.3588, allocations: 36.3 kB / 0.5225 GB, free: 196 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3588, allocations: 0 / 0.5225 GB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000565/0.3594, allocations: 150.5 kB / 0.5226 GB, free: 124 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.3595, allocations: 79.02 kB / 0.5227 GB, free: 28 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.3596, allocations: 134.7 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3596, allocations: 27.14 kB / 0.5229 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.3597, allocations: 92.22 kB / 0.523 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3597, allocations: 15.36 kB / 0.523 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.3598, allocations: 18.78 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3599, allocations: 323.7 kB / 0.5233 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.36, allocations: 23.77 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.81e-05/0.36, allocations: 38.08 kB / 0.5234 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3602, allocations: 51.48 kB / 0.5234 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3602, allocations: 1.062 kB / 0.5234 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000197/0.3604, allocations: 88.12 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3604, allocations: 5.719 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3604, allocations: 0.5156 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3605, allocations: 5.531 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.3605, allocations: 19.89 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3606, allocations: 3.938 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.361e-05/0.3606, allocations: 5.266 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3606, allocations: 5.938 kB / 0.5235 GB, free: 15.32 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 8.379e-05/0.3607, allocations: 114.9 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.3608, allocations: 8.203 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.361, allocations: 105.4 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.361, allocations: 1.312 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.361, allocations: 0 / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.361, allocations: 0.6562 kB / 0.5238 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.3615, allocations: 357.7 kB / 0.5241 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3615, allocations: 0.7031 kB / 0.5241 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.3616, allocations: 12.5 kB / 0.5241 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3616, allocations: 0 / 0.5241 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.3616, allocations: 6.156 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3616, allocations: 3.938 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3616, allocations: 1.344 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.3619, allocations: 184.9 kB / 0.5243 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.3619, allocations: 78.89 kB / 0.5244 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.3619, allocations: 1.156 kB / 0.5244 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.362, allocations: 13.45 kB / 0.5244 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.362, allocations: 7.656 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3621, allocations: 2 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.025e-05/0.3621, allocations: 103.5 kB / 0.5245 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3622, allocations: 1.625 kB / 0.5245 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3624, allocations: 18.73 kB / 0.5245 GB, free: 14.45 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.001398/0.3638, allocations: 1.057 MB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.364, allocations: 56.41 kB / 0.5256 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3641, allocations: 0 / 0.5256 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.3642, allocations: 26.92 kB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3645, allocations: 21.58 kB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.3662, allocations: 1.396 MB / 0.527 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.3664, allocations: 0.6976 MB / 0.5277 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.675e-05/0.3665, allocations: 17.05 kB / 0.5277 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.3666, allocations: 26.7 kB / 0.5277 GB, free: 11.66 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3666, allocations: 0 / 0.5277 GB, free: 11.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.3903, allocations: 2.788 MB / 0.5304 GB, free: 10.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.116, allocations: 16.83 kB / 0.5305 GB, free: 10.46 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time