Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.323, allocations: 62.42 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003765/0.3268, allocations: 1.706 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.328, allocations: 0.571 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.3281, allocations: 0 / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.3284, allocations: 19.98 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.3287, allocations: 84.92 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.3291, allocations: 138.1 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3293, allocations: 91.38 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3295, allocations: 16.11 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.3296, allocations: 38.11 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3297, allocations: 47.33 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.3297, allocations: 10.12 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.33, allocations: 111.4 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/0.3301, allocations: 21.7 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.3302, allocations: 34.67 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.3306, allocations: 165 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3306, allocations: 0 / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3306, allocations: 0 / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.3306, allocations: 1.312 kB / 0.5335 GB, free: 11.17 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.0007994/0.3314, allocations: 453.2 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3315, allocations: 9.469 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.3315, allocations: 32.81 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.3316, allocations: 12.52 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.3318, allocations: 206.9 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3318, allocations: 2.219 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3318, allocations: 6.344 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3321, allocations: 96.88 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3322, allocations: 1.562 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3322, allocations: 3.938 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3322, allocations: 1.5 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.3325, allocations: 68.83 kB / 0.5343 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.333, allocations: 317.3 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.3332, allocations: 68.12 kB / 0.5347 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3334, allocations: 44.33 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3334, allocations: 4 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3335, allocations: 35.92 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.3335, allocations: 0 / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001557/0.335, allocations: 374.5 kB / 0.5352 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3351, allocations: 90.42 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3353, allocations: 167.2 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3353, allocations: 27.08 kB / 0.5354 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3354, allocations: 100.2 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.3354, allocations: 30.3 kB / 0.5356 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.3355, allocations: 25.91 kB / 0.5356 GB, free: 9.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3356, allocations: 321.6 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.3359, allocations: 73.58 kB / 0.536 GB, free: 8.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.3362, allocations: 87.55 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.3368, allocations: 149.6 kB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3368, allocations: 1.25 kB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006257/0.3374, allocations: 192.5 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3374, allocations: 4.625 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3374, allocations: 1 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3375, allocations: 0 / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.3377, allocations: 42.45 kB / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3377, allocations: 9.031 kB / 0.5364 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.3379, allocations: 25.56 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3379, allocations: 2.156 kB / 0.5364 GB, free: 8.637 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 (10): * Single equations (assignments): 10 * 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.0001092/0.338, allocations: 123.5 kB / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.3381, allocations: 12.41 kB / 0.5366 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006664/0.3388, allocations: 206.4 kB / 0.5368 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3388, allocations: 2.562 kB / 0.5368 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3388, allocations: 3.938 kB / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3388, allocations: 0 / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.3398, allocations: 0.496 MB / 0.5373 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3398, allocations: 0 / 0.5373 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.34, allocations: 43.89 kB / 0.5373 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.34, allocations: 5.438 kB / 0.5373 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.34, allocations: 1.375 kB / 0.5373 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.34, allocations: 0 / 0.5373 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3401, allocations: 0 / 0.5373 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.3407, allocations: 294.7 kB / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.3408, allocations: 91.3 kB / 0.5377 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3408, allocations: 5.312 kB / 0.5377 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.341, allocations: 25.3 kB / 0.5377 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.3411, allocations: 13.02 kB / 0.5377 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3411, allocations: 1.375 kB / 0.5377 GB, free: 7.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3412, allocations: 131.5 kB / 0.5378 GB, free: 7.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3412, allocations: 0 / 0.5378 GB, free: 7.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000329/0.3415, allocations: 48.42 kB / 0.5379 GB, free: 7.453 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 (9): * Single equations (assignments): 9 * 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.002005/0.3436, allocations: 1.206 MB / 0.5391 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.3442, allocations: 161.1 kB / 0.5392 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3442, allocations: 0 / 0.5392 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.3445, allocations: 82.55 kB / 0.5393 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3449, allocations: 20 kB / 0.5393 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.3478, allocations: 1.854 MB / 0.5411 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3481, allocations: 0.7023 MB / 0.5418 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.512e-05/0.3482, allocations: 26.52 kB / 0.5418 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.3483, allocations: 35.52 kB / 0.5419 GB, free: 4.148 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3483, allocations: 0 / 0.5419 GB, free: 4.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.3692, allocations: 4.324 MB / 0.5461 GB, free: 1.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.166, allocations: 12.11 kB / 0.5461 GB, free: 1.574 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,d_t_new.y,ramp.y,ramp1.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(ramp.y),der(ramp1.y),der(t_new.y),dummy,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,t_new.extrapolation,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time