Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001528/0.001528, 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.00172/0.00172, 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.283/1.283, 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.2006/0.2006, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3068, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002475/0.3093, allocations: 1.559 MB / 0.52 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3105, allocations: 1.039 MB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.3106, allocations: 1.188 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.3108, allocations: 23.52 kB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.311, allocations: 45.02 kB / 0.521 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.3113, allocations: 104.1 kB / 0.5211 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3114, allocations: 59.59 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.3115, allocations: 12.52 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.378e-05/0.3116, allocations: 23.94 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3117, allocations: 29.5 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3117, allocations: 2.656 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.856e-05/0.3118, allocations: 46.62 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.3119, allocations: 13.16 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.3119, allocations: 24.27 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3121, allocations: 89.44 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3121, allocations: 5.031 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3121, allocations: 0 / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3121, allocations: 0 / 0.5214 GB, free: 1.266 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.0003549/0.3125, allocations: 370.6 kB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3125, allocations: 18.61 kB / 0.5218 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.784e-05/0.3126, allocations: 32.34 kB / 0.5218 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.3126, allocations: 7.219 kB / 0.5218 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.3127, allocations: 191.2 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.3128, allocations: 1.906 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3128, allocations: 1.719 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3129, allocations: 70.98 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3129, allocations: 0 / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.313, allocations: 5.188 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.313, allocations: 0 / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.3131, allocations: 23.91 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.3134, allocations: 276.1 kB / 0.5224 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3136, allocations: 50.06 kB / 0.5224 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.3136, allocations: 18.25 kB / 0.5225 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.3136, allocations: 1.125 kB / 0.5225 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.3137, allocations: 36.27 kB / 0.5225 GB, free: 188 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3137, allocations: 0 / 0.5225 GB, free: 188 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005262/0.3142, allocations: 147.5 kB / 0.5226 GB, free: 120 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.3142, allocations: 81.11 kB / 0.5227 GB, free: 20 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.3144, allocations: 136.2 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3144, allocations: 25.7 kB / 0.5229 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.3145, allocations: 92.91 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.3145, allocations: 20 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.3145, allocations: 14.67 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.3146, allocations: 327.7 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.3147, allocations: 19.72 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.3148, allocations: 41.23 kB / 0.5234 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.315, allocations: 51.64 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.315, allocations: 0.6094 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002121/0.3152, allocations: 89.59 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3152, allocations: 7.469 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3152, allocations: 5.578 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3152, allocations: 0 / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.3153, allocations: 12.98 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3153, allocations: 4.594 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.3154, allocations: 4.625 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3154, allocations: 6.125 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 7.13e-05/0.3155, allocations: 118.6 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.3155, allocations: 8.938 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.3158, allocations: 100.8 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3158, allocations: 4.5 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3158, allocations: 1 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3158, allocations: 0.5156 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.3162, allocations: 354.6 kB / 0.5241 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3162, allocations: 0 / 0.5241 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.3163, allocations: 12.08 kB / 0.5241 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3163, allocations: 4 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3163, allocations: 6.344 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3163, allocations: 3.938 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3163, allocations: 1.469 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.3166, allocations: 184 kB / 0.5243 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.3166, allocations: 79.06 kB / 0.5244 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.3166, allocations: 2.078 kB / 0.5244 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.3167, allocations: 12.78 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.3167, allocations: 8.562 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3167, allocations: 5.25 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.159e-05/0.3168, allocations: 104 kB / 0.5245 GB, free: 14.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3168, allocations: 0 / 0.5245 GB, free: 14.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3171, allocations: 24.02 kB / 0.5245 GB, free: 14.43 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.001321/0.3184, allocations: 1.046 MB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.3187, allocations: 58.23 kB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3187, allocations: 0 / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.3188, allocations: 25.11 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.0003577/0.3191, allocations: 18.44 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3207, allocations: 1.404 MB / 0.527 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.321, allocations: 0.6972 MB / 0.5277 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.065e-05/0.321, allocations: 20.91 kB / 0.5277 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.3211, allocations: 24.48 kB / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3211, allocations: 0 / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.3419, allocations: 2.789 MB / 0.5305 GB, free: 10.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.195, allocations: 16.55 kB / 0.5305 GB, free: 10.47 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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(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