Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.001131/0.001131, allocations: 113.4 kB / 17.78 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.001525/0.001525, allocations: 180.1 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.399/1.399, 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.1982/0.1982, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3411, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003442/0.3446, allocations: 1.586 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008848/0.3455, allocations: 404.8 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.564e-05/0.3456, allocations: 1.156 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.3461, allocations: 108.6 kB / 0.5205 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.3464, allocations: 81.94 kB / 0.5206 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.3467, allocations: 81.91 kB / 0.5206 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.347, allocations: 82.48 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3471, allocations: 18.95 kB / 0.5207 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3472, allocations: 41.98 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.3474, allocations: 65.66 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3474, allocations: 2.625 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.3476, allocations: 43.36 kB / 0.5209 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.3477, allocations: 21.09 kB / 0.5209 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.3477, allocations: 31.36 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.348, allocations: 118.9 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.348, allocations: 0.7031 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.348, allocations: 0 / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.348, allocations: 0 / 0.521 GB, free: 1.684 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.0004754/0.3485, allocations: 416.8 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3485, allocations: 9.625 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.3486, allocations: 32.67 kB / 0.5215 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.3486, allocations: 14.33 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.3488, allocations: 203.5 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3488, allocations: 6.75 kB / 0.5217 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3489, allocations: 6.281 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.349, allocations: 55.61 kB / 0.5218 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.349, allocations: 5.75 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.349, allocations: 4 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3491, allocations: 1.438 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3492, allocations: 24.97 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.3495, allocations: 308.6 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3497, allocations: 46.59 kB / 0.5221 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.3497, allocations: 23.28 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3498, allocations: 1.094 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.3498, allocations: 32.31 kB / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3498, allocations: 0 / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008857/0.3507, allocations: 220.7 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.3507, allocations: 57.28 kB / 0.5225 GB, free: 408 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.351, allocations: 234 kB / 0.5227 GB, free: 268 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.351, allocations: 29.7 kB / 0.5227 GB, free: 232 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.3511, allocations: 111.2 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.3511, allocations: 28.91 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.3512, allocations: 20.73 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.3514, allocations: 332.1 kB / 0.5232 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/0.3515, allocations: 25.27 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.3516, allocations: 27.48 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.3518, allocations: 67.17 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3518, allocations: 0 / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002498/0.352, allocations: 98.95 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3521, allocations: 8.531 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3521, allocations: 1.375 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3521, allocations: 4.688 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3522, allocations: 22.73 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3522, allocations: 3.938 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.3523, allocations: 5.281 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3523, allocations: 1.031 kB / 0.5234 GB, free: 15.64 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.000118/0.3524, allocations: 131.5 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.3525, allocations: 17.69 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.3528, allocations: 113 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3528, allocations: 1.25 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.3528, allocations: 3.938 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3528, allocations: 9.547 kB / 0.5237 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007726/0.3536, allocations: 407.8 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.3536, allocations: 6.234 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.3537, allocations: 14.88 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3537, allocations: 2.188 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3538, allocations: 1.375 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3538, allocations: 5.281 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3538, allocations: 4.703 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.3541, allocations: 215.8 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.3542, allocations: 93.69 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3542, allocations: 0.6562 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.3543, allocations: 5.484 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3543, allocations: 10.55 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3544, allocations: 2.438 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.3546, allocations: 182.8 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3546, allocations: 0 / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000297/0.3549, allocations: 27.48 kB / 0.5246 GB, free: 14.67 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.001564/0.3565, allocations: 1.088 MB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.3567, allocations: 63.84 kB / 0.5257 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3567, allocations: 1.344 kB / 0.5258 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.571e-05/0.3568, allocations: 42.73 kB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3572, allocations: 19.47 kB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3594, allocations: 1.718 MB / 0.5275 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3597, allocations: 0.7127 MB / 0.5282 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.546e-05/0.3598, allocations: 18.42 kB / 0.5282 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.3599, allocations: 36.41 kB / 0.5282 GB, free: 11.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3599, allocations: 0 / 0.5282 GB, free: 11.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.3801, allocations: 3.226 MB / 0.5314 GB, free: 10.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.177, allocations: 6 kB / 0.5314 GB, free: 10.29 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nout,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.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time