Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001437/0.001437, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001541/0.001541, allocations: 188 kB / 18.71 MB, free: 4.387 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2167/0.2167, allocations: 44.17 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3214, allocations: 60.83 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002626/0.3241, allocations: 1.561 MB / 0.52 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3253, allocations: 1.022 MB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.3253, allocations: 0 / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.3255, allocations: 31.61 kB / 0.521 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.3257, allocations: 41.42 kB / 0.521 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.326, allocations: 84.67 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.3261, allocations: 56.33 kB / 0.5212 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.3262, allocations: 11.58 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.3263, allocations: 26.44 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.3264, allocations: 26.22 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3264, allocations: 7.656 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3266, allocations: 48.78 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.3266, allocations: 12.75 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.3267, allocations: 17.45 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.3269, allocations: 92.84 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3269, allocations: 0 / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3269, allocations: 0 / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3269, allocations: 4.969 kB / 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.0004278/0.3273, allocations: 378.2 kB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3274, allocations: 13.84 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.489e-05/0.3274, allocations: 32.41 kB / 0.5218 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.3274, allocations: 8.766 kB / 0.5218 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.3276, allocations: 182.4 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3276, allocations: 5.75 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.3277, allocations: 1.438 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3278, allocations: 69.42 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3278, allocations: 1.344 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3279, allocations: 4 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3279, allocations: 5.125 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.931e-05/0.328, allocations: 17.33 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.3283, allocations: 272.9 kB / 0.5223 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.3285, allocations: 48.7 kB / 0.5224 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.3286, allocations: 13.58 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3286, allocations: 4.703 kB / 0.5224 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.3286, allocations: 32.28 kB / 0.5224 GB, free: 196 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3286, allocations: 1.125 kB / 0.5224 GB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000552/0.3292, allocations: 146.1 kB / 0.5226 GB, free: 120 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3292, allocations: 79.23 kB / 0.5227 GB, free: 24 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3294, allocations: 139.8 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3294, allocations: 25.7 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.3294, allocations: 89.14 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.3295, allocations: 19.47 kB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.3295, allocations: 18.03 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3296, allocations: 320.2 kB / 0.5232 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.3297, allocations: 17.86 kB / 0.5233 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.3298, allocations: 35.36 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.33, allocations: 46.23 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.33, allocations: 3.938 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001894/0.3302, allocations: 82 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3302, allocations: 4.406 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3302, allocations: 1.734 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3302, allocations: 4.031 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.3303, allocations: 16.36 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3303, allocations: 1 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.3303, allocations: 4.875 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3304, allocations: 9.562 kB / 0.5235 GB, free: 15.33 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.252e-05/0.3305, allocations: 110.8 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.3305, allocations: 11.69 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.3307, allocations: 91.78 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3307, allocations: 1.156 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3308, allocations: 0.6094 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3308, allocations: 1.25 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.3312, allocations: 346.9 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3312, allocations: 0 / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.3313, allocations: 11.92 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3313, allocations: 1.125 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3313, allocations: 5.094 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3313, allocations: 7.875 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3313, allocations: 1.859 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.3316, allocations: 172.5 kB / 0.5242 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.3316, allocations: 79.06 kB / 0.5243 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.3316, allocations: 1.188 kB / 0.5243 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.3317, allocations: 14.41 kB / 0.5243 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3318, allocations: 11.41 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3318, allocations: 1.766 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.243e-05/0.3319, allocations: 103 kB / 0.5244 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3319, allocations: 3.938 kB / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.3321, allocations: 20.81 kB / 0.5244 GB, free: 14.46 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.00134/0.3335, allocations: 1.052 MB / 0.5254 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.3337, allocations: 52.14 kB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3337, allocations: 0 / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.3338, allocations: 23.61 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3341, allocations: 18.28 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.3356, allocations: 1.379 MB / 0.5269 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3359, allocations: 0.6961 MB / 0.5276 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.086e-05/0.336, allocations: 11.47 kB / 0.5276 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.336, allocations: 25.36 kB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.336, allocations: 0 / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.3548, allocations: 2.759 MB / 0.5303 GB, free: 10.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/8.014, allocations: 17.23 kB / 0.5303 GB, free: 10.54 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time