Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",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.001516/0.001516, allocations: 105.5 kB / 17.77 MB, free: 5.27 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.002056/0.002056, allocations: 188.8 kB / 18.71 MB, free: 4.348 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.441/1.441, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2068/0.2068, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 67.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3399, allocations: 60.83 MB / 0.5184 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002463/0.3424, allocations: 1.56 MB / 0.52 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3436, allocations: 1.019 MB / 0.521 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.3437, allocations: 1.062 kB / 0.521 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.3439, allocations: 27.84 kB / 0.521 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.3441, allocations: 41.23 kB / 0.521 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.3443, allocations: 83.53 kB / 0.5211 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3445, allocations: 63.95 kB / 0.5212 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.3446, allocations: 7.531 kB / 0.5212 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.3446, allocations: 27.23 kB / 0.5212 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.3448, allocations: 25.75 kB / 0.5212 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.3448, allocations: 6.312 kB / 0.5212 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.3449, allocations: 46.17 kB / 0.5213 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.3449, allocations: 13.58 kB / 0.5213 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.345, allocations: 16.84 kB / 0.5213 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.3452, allocations: 96.72 kB / 0.5214 GB, free: 1.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3452, allocations: 0 / 0.5214 GB, free: 1.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3452, allocations: 0 / 0.5214 GB, free: 1.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3452, allocations: 1.797 kB / 0.5214 GB, free: 1.145 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.0003766/0.3456, allocations: 377.9 kB / 0.5218 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3456, allocations: 13.42 kB / 0.5218 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.3456, allocations: 36.97 kB / 0.5218 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.3457, allocations: 7.5 kB / 0.5218 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.3458, allocations: 183 kB / 0.522 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3458, allocations: 2.5 kB / 0.522 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3459, allocations: 1.812 kB / 0.522 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.346, allocations: 72 kB / 0.5221 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.346, allocations: 1.688 kB / 0.5221 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.346, allocations: 4 kB / 0.5221 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3461, allocations: 1.375 kB / 0.5221 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.3461, allocations: 21.62 kB / 0.5221 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.3464, allocations: 273.3 kB / 0.5223 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3466, allocations: 43.44 kB / 0.5224 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.3467, allocations: 22.53 kB / 0.5224 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3467, allocations: 0 / 0.5224 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.3467, allocations: 33.53 kB / 0.5224 GB, free: 60 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.3467, allocations: 0 / 0.5224 GB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005069/0.3472, allocations: 138.1 kB / 0.5226 GB, free: 15.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3473, allocations: 78.95 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3474, allocations: 136 kB / 0.5228 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3475, allocations: 25.7 kB / 0.5228 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.3475, allocations: 92.91 kB / 0.5229 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.3475, allocations: 15.55 kB / 0.5229 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.3476, allocations: 19.33 kB / 0.5229 GB, free: 15.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3477, allocations: 323 kB / 0.5232 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.3478, allocations: 18.19 kB / 0.5233 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.3479, allocations: 42.86 kB / 0.5233 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.348, allocations: 43.5 kB / 0.5233 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.348, allocations: 0 / 0.5233 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001756/0.3482, allocations: 81.31 kB / 0.5234 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3482, allocations: 4.281 kB / 0.5234 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3482, allocations: 2.141 kB / 0.5234 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3482, allocations: 4.031 kB / 0.5234 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.3483, allocations: 16.88 kB / 0.5234 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3483, allocations: 0 / 0.5234 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.3484, allocations: 4.609 kB / 0.5234 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3484, allocations: 6.609 kB / 0.5234 GB, free: 15.2 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.277e-05/0.3485, allocations: 118.3 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.3485, allocations: 8.094 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.3487, allocations: 88.3 kB / 0.5237 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3487, allocations: 5.391 kB / 0.5237 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3487, allocations: 0 / 0.5237 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3488, allocations: 0.7969 kB / 0.5237 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.3491, allocations: 346.1 kB / 0.524 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3492, allocations: 0.5625 kB / 0.524 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.3492, allocations: 12.39 kB / 0.524 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3492, allocations: 1.062 kB / 0.524 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3492, allocations: 9.766 kB / 0.524 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3492, allocations: 7.875 kB / 0.524 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3492, allocations: 0.7031 kB / 0.524 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.3495, allocations: 176.8 kB / 0.5242 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.3495, allocations: 78.86 kB / 0.5243 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.3495, allocations: 5.844 kB / 0.5243 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.3496, allocations: 13.47 kB / 0.5243 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.3496, allocations: 3.578 kB / 0.5243 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3497, allocations: 1.703 kB / 0.5243 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.879e-05/0.3497, allocations: 103.5 kB / 0.5244 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3497, allocations: 0 / 0.5244 GB, free: 14.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.35, allocations: 25.02 kB / 0.5244 GB, free: 14.32 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.001322/0.3513, allocations: 1.047 MB / 0.5254 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.3515, allocations: 52.3 kB / 0.5255 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3516, allocations: 0 / 0.5255 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.654e-05/0.3516, allocations: 27.77 kB / 0.5255 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.352, allocations: 18.19 kB / 0.5255 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3535, allocations: 1.38 MB / 0.5269 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3538, allocations: 0.6936 MB / 0.5276 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.934e-05/0.3538, allocations: 12.77 kB / 0.5276 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.3539, allocations: 24.92 kB / 0.5276 GB, free: 11.54 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3539, allocations: 0 / 0.5276 GB, free: 11.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.3769, allocations: 2.766 MB / 0.5303 GB, free: 10.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.911, allocations: 13.3 kB / 0.5303 GB, free: 10.41 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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