Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3323, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002784/0.3351, allocations: 1.619 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008839/0.336, allocations: 0.5448 MB / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.3361, allocations: 0 / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.3364, allocations: 123.6 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.3367, allocations: 126.3 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.337, allocations: 118.4 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.3372, allocations: 97.44 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.3373, allocations: 12.94 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.3373, allocations: 51.34 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.3375, allocations: 85.25 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3375, allocations: 3.219 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.3376, allocations: 45.33 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.3377, allocations: 30.97 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.3377, allocations: 38.41 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.3379, allocations: 126.8 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3379, allocations: 0 / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3379, allocations: 5.531 kB / 0.5335 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3379, allocations: 0 / 0.5335 GB, free: 11.26 MB / 398.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.0004632/0.3384, allocations: 441.3 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3384, allocations: 9.688 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.3385, allocations: 34.75 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.3385, allocations: 16.25 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3387, allocations: 209.3 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.3387, allocations: 2.25 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3388, allocations: 2.281 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3389, allocations: 63.72 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3389, allocations: 0 / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3389, allocations: 4 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3389, allocations: 5.5 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.339, allocations: 32.75 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.3394, allocations: 307.1 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3395, allocations: 43.75 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.3396, allocations: 25.78 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3396, allocations: 4.062 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.3397, allocations: 32.03 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3397, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008517/0.3405, allocations: 251.8 kB / 0.5349 GB, free: 9.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.3406, allocations: 52.78 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.3408, allocations: 279.1 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3408, allocations: 25.7 kB / 0.5352 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.3409, allocations: 120.4 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.3409, allocations: 26.31 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.341, allocations: 20.59 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3411, allocations: 332.3 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.3412, allocations: 28.48 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.3412, allocations: 32.62 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3414, allocations: 77.69 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3414, allocations: 0 / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00023/0.3417, allocations: 118.7 kB / 0.536 GB, free: 9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3417, allocations: 9.375 kB / 0.536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3417, allocations: 0 / 0.536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3417, allocations: 0 / 0.536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.3418, allocations: 17.86 kB / 0.536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3418, allocations: 5.25 kB / 0.536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.3419, allocations: 10.72 kB / 0.536 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3419, allocations: 2.438 kB / 0.536 GB, free: 8.98 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 9.742e-05/0.342, allocations: 138.9 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.3421, allocations: 17.5 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.3423, allocations: 132.3 kB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3424, allocations: 1.312 kB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3424, allocations: 3.938 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3424, allocations: 1.125 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.3429, allocations: 432.8 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3429, allocations: 0 / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.343, allocations: 25.95 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.343, allocations: 1.125 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.343, allocations: 5.062 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.343, allocations: 1.125 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.343, allocations: 1.641 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.3433, allocations: 222 kB / 0.5369 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.3434, allocations: 92.3 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.3434, allocations: 2.156 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.3435, allocations: 3.375 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.3435, allocations: 14.28 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.3435, allocations: 7.438 kB / 0.5371 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.3437, allocations: 204.6 kB / 0.5373 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3437, allocations: 0 / 0.5373 GB, free: 7.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.344, allocations: 31.08 kB / 0.5373 GB, free: 7.887 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.001383/0.3453, allocations: 1.097 MB / 0.5384 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.3456, allocations: 80.03 kB / 0.5384 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3456, allocations: 0 / 0.5384 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.3457, allocations: 44.11 kB / 0.5385 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.346, allocations: 23.61 kB / 0.5385 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.348, allocations: 1.832 MB / 0.5403 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.3482, allocations: 0.7298 MB / 0.541 GB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.005e-05/0.3483, allocations: 24.77 kB / 0.541 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.3484, allocations: 41.36 kB / 0.5411 GB, free: 4.68 MB / 398.1 MB Notification: Performance of SimCode: time 1.552e-06/0.3484, allocations: 0.6562 kB / 0.5411 GB, free: 4.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.3681, allocations: 3.469 MB / 0.5444 GB, free: 2.805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.904, allocations: 8.359 kB / 0.5445 GB, free: 2.801 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time