Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.001473/0.001473, allocations: 109.5 kB / 17.78 MB, free: 5.293 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.001798/0.001798, allocations: 188 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.463/1.463, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2289/0.2289, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 71.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4206, allocations: 60.82 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00297/0.4236, allocations: 1.581 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.4243, allocations: 418.2 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.4244, allocations: 1.094 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.4247, allocations: 68.84 kB / 0.5205 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.4249, allocations: 65.44 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.4253, allocations: 107.7 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.4255, allocations: 71.66 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.4256, allocations: 15.42 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.4256, allocations: 36.14 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.4258, allocations: 51.3 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.4258, allocations: 3.625 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.4259, allocations: 43.41 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.4259, allocations: 17.92 kB / 0.5209 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.426, allocations: 30.58 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.4262, allocations: 100.4 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4262, allocations: 1.062 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4262, allocations: 0 / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.4262, allocations: 0.75 kB / 0.521 GB, free: 1.695 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.0004179/0.4267, allocations: 398 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4267, allocations: 13.28 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.412e-05/0.4267, allocations: 36.64 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.4268, allocations: 10.73 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.4269, allocations: 196.8 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.427, allocations: 1.625 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.427, allocations: 6.562 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.4271, allocations: 54.05 kB / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4272, allocations: 0 / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4272, allocations: 5.094 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.4272, allocations: 1.875 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.4273, allocations: 29.09 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.4277, allocations: 299.3 kB / 0.522 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4278, allocations: 45.36 kB / 0.522 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.4279, allocations: 24.27 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.4279, allocations: 0 / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.4279, allocations: 36.44 kB / 0.5221 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.4279, allocations: 0 / 0.5221 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008953/0.4288, allocations: 246.3 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.4289, allocations: 56.94 kB / 0.5224 GB, free: 436 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.4291, allocations: 195.1 kB / 0.5226 GB, free: 304 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.4291, allocations: 25.7 kB / 0.5226 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.4291, allocations: 101.2 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.4291, allocations: 24.5 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.4292, allocations: 26.08 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4293, allocations: 325.3 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.4294, allocations: 29.41 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.4295, allocations: 31.66 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.4297, allocations: 72.59 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4297, allocations: 0 / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002336/0.4299, allocations: 116.2 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.43, allocations: 9.5 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.43, allocations: 0 / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.43, allocations: 1.062 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4301, allocations: 17.03 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4301, allocations: 3.938 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.4302, allocations: 9.656 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.4302, allocations: 2.594 kB / 0.5233 GB, free: 15.69 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.0001101/0.4303, allocations: 126.4 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.4304, allocations: 16.44 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.4307, allocations: 122.5 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4307, allocations: 1.094 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4307, allocations: 5.562 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4307, allocations: 0.6562 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.4313, allocations: 418.1 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4313, allocations: 9.656 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.18e-05/0.4314, allocations: 16.97 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4314, allocations: 0.75 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4314, allocations: 6.156 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.4314, allocations: 5.781 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4314, allocations: 0 / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.4317, allocations: 214.3 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.4318, allocations: 88.41 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.4318, allocations: 0.5156 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.4319, allocations: 10.06 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.4319, allocations: 9.359 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.4319, allocations: 2.938 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.4321, allocations: 148.4 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4321, allocations: 0 / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.4323, allocations: 27.03 kB / 0.5245 GB, free: 14.74 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.001505/0.4338, allocations: 1.099 MB / 0.5256 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.4341, allocations: 77.44 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4341, allocations: 0 / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/0.4342, allocations: 37.09 kB / 0.5257 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.4346, allocations: 27.78 kB / 0.5257 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.4365, allocations: 1.644 MB / 0.5273 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4368, allocations: 0.7072 MB / 0.528 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.328e-05/0.4369, allocations: 24.53 kB / 0.528 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.4369, allocations: 33.83 kB / 0.5281 GB, free: 11.81 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4369, allocations: 0 / 0.5281 GB, free: 11.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.4582, allocations: 3.039 MB / 0.531 GB, free: 10.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.176, allocations: 5.344 kB / 0.531 GB, free: 10.47 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time