Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.001031/0.001031, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001085/0.001085, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.398/1.398, 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.2292/0.2292, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4145, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.00285/0.4174, allocations: 1.618 MB / 0.52 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.4182, allocations: 422.6 kB / 0.5204 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.4182, allocations: 1.281 kB / 0.5204 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.4186, allocations: 91.48 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.4188, allocations: 75.17 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.4191, allocations: 110.8 kB / 0.5207 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.4193, allocations: 96.97 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.4195, allocations: 31.2 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.593e-05/0.4196, allocations: 41.33 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.4197, allocations: 54 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.4198, allocations: 4.5 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.4199, allocations: 52.61 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.42, allocations: 27.77 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.42, allocations: 49.2 kB / 0.521 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.4203, allocations: 116.5 kB / 0.5211 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.4203, allocations: 0 / 0.5211 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4203, allocations: 5.219 kB / 0.5212 GB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.4203, allocations: 0 / 0.5212 GB, free: 1.594 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004672/0.4208, allocations: 429.3 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4208, allocations: 9.453 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.4209, allocations: 38.45 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.4209, allocations: 15.97 kB / 0.5216 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.4211, allocations: 211.9 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4211, allocations: 4.25 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.4211, allocations: 7.938 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.4213, allocations: 78.12 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4213, allocations: 1.125 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4214, allocations: 4.609 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4214, allocations: 2.344 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.4215, allocations: 44.64 kB / 0.522 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.4219, allocations: 342.7 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.4221, allocations: 76.39 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.4222, allocations: 22.75 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.4222, allocations: 6.984 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.4222, allocations: 31.19 kB / 0.5224 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.4222, allocations: 4 kB / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001148/0.4234, allocations: 336 kB / 0.5227 GB, free: 292 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.4234, allocations: 56.69 kB / 0.5228 GB, free: 224 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.4237, allocations: 233.2 kB / 0.523 GB, free: 80 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.4237, allocations: 26.77 kB / 0.523 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.4239, allocations: 115.2 kB / 0.5232 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.4239, allocations: 35.77 kB / 0.5232 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.424, allocations: 29.95 kB / 0.5232 GB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4241, allocations: 327.5 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.4242, allocations: 46.81 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.4244, allocations: 49.78 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.4246, allocations: 105.5 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4246, allocations: 0 / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002924/0.4249, allocations: 154 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4249, allocations: 4.906 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4249, allocations: 5.219 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4249, allocations: 0.6562 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.4251, allocations: 32.77 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4251, allocations: 2.609 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.4251, allocations: 5.016 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.4252, allocations: 6.875 kB / 0.5239 GB, free: 15.41 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 (13): * Single equations (assignments): 13 * 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.0001138/0.4253, allocations: 131 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.4253, allocations: 15.64 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.4257, allocations: 192.3 kB / 0.5242 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4257, allocations: 11.06 kB / 0.5243 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.4258, allocations: 0 / 0.5243 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4258, allocations: 0.75 kB / 0.5243 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007429/0.4265, allocations: 0.4896 MB / 0.5247 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4265, allocations: 2.062 kB / 0.5247 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.4266, allocations: 24.2 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4266, allocations: 1.844 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.4267, allocations: 10.44 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.4267, allocations: 3.938 kB / 0.5248 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4267, allocations: 3.172 kB / 0.5248 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.427, allocations: 253.4 kB / 0.525 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.4271, allocations: 85.34 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4271, allocations: 10.14 kB / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.4272, allocations: 6.609 kB / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.4273, allocations: 11.36 kB / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.4273, allocations: 5 kB / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.4275, allocations: 174.7 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4275, allocations: 0 / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003424/0.4278, allocations: 29.66 kB / 0.5253 GB, free: 14.38 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 (13): * Single equations (assignments): 13 * 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.001606/0.4294, allocations: 1.139 MB / 0.5264 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.4298, allocations: 109.3 kB / 0.5265 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4298, allocations: 5.312 kB / 0.5266 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.4299, allocations: 60.12 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.4303, allocations: 19.44 kB / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.4329, allocations: 1.902 MB / 0.5285 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.4334, allocations: 0.7198 MB / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.4335, allocations: 29.38 kB / 0.5292 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4336, allocations: 45.05 kB / 0.5293 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4336, allocations: 0 / 0.5293 GB, free: 11.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.4556, allocations: 3.543 MB / 0.5327 GB, free: 9.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.986, allocations: 5.375 kB / 0.5327 GB, free: 9.582 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y,d2_t_new.y,d2_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d2_t_new2.u,d2_t_new2.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u[1],t_new.u[2],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time