Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, 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.001328/0.001329, 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.411/1.411, 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.2186/0.2186, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3208, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002782/0.3236, allocations: 1.601 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.3252, allocations: 1.159 MB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.3253, allocations: 1.281 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.3255, allocations: 29.19 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.3258, allocations: 85.05 kB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3261, allocations: 107 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3262, allocations: 70.8 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.3263, allocations: 18.23 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.3264, allocations: 22.14 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3265, allocations: 35.69 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3265, allocations: 4.312 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.3267, allocations: 99.05 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.3268, allocations: 19.2 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.3268, allocations: 20.31 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3271, allocations: 145.9 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3271, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3271, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3271, allocations: 5.031 kB / 0.5339 GB, free: 10.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005224/0.3276, allocations: 399.5 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3277, allocations: 9.969 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.3277, allocations: 32 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.3278, allocations: 7.594 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.328, allocations: 194.7 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.328, allocations: 4.375 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.3281, allocations: 3.125 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3282, allocations: 63.95 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3282, allocations: 3.938 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.3283, allocations: 5.969 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3283, allocations: 3.938 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.839e-05/0.3284, allocations: 25.31 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.3288, allocations: 284.5 kB / 0.5348 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.3291, allocations: 49.08 kB / 0.5349 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.3291, allocations: 19 kB / 0.5349 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3292, allocations: 1.562 kB / 0.5349 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3292, allocations: 39.72 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3292, allocations: 0 / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007121/0.3299, allocations: 154.3 kB / 0.5351 GB, free: 9.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.33, allocations: 78.48 kB / 0.5352 GB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.3302, allocations: 141.3 kB / 0.5353 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3302, allocations: 31.08 kB / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.3303, allocations: 94.88 kB / 0.5354 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.3303, allocations: 22.41 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.3304, allocations: 17.84 kB / 0.5355 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3306, allocations: 321.5 kB / 0.5358 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.3307, allocations: 18.98 kB / 0.5358 GB, free: 8.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.3307, allocations: 40.81 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3309, allocations: 54.98 kB / 0.5359 GB, free: 8.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3309, allocations: 0 / 0.5359 GB, free: 8.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002023/0.3311, allocations: 87.88 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3311, allocations: 7.531 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3312, allocations: 0 / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3312, allocations: 0 / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.3313, allocations: 15 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3313, allocations: 0 / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.3313, allocations: 14.67 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3314, allocations: 2.75 kB / 0.536 GB, free: 8.723 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 9.895e-05/0.3315, allocations: 114 kB / 0.5361 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.3315, allocations: 6.656 kB / 0.5361 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.3318, allocations: 100.3 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3318, allocations: 5.312 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3318, allocations: 0 / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3318, allocations: 9.312 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.3323, allocations: 355 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3323, allocations: 3.938 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.3324, allocations: 21.55 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3324, allocations: 1.375 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3324, allocations: 5.312 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3324, allocations: 0 / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3324, allocations: 3.984 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.3327, allocations: 182.6 kB / 0.5368 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.3327, allocations: 79.33 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3327, allocations: 5.094 kB / 0.5369 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.3328, allocations: 11.23 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.3329, allocations: 2.125 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.3329, allocations: 1.094 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.333, allocations: 122.3 kB / 0.537 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.333, allocations: 0 / 0.537 GB, free: 7.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003291/0.3333, allocations: 40.45 kB / 0.537 GB, free: 7.754 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.001769/0.3351, allocations: 1.1 MB / 0.5381 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3353, allocations: 59.08 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.3354, allocations: 1.219 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.3355, allocations: 32.92 kB / 0.5382 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3358, allocations: 21.27 kB / 0.5382 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.3379, allocations: 1.447 MB / 0.5396 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3382, allocations: 0.698 MB / 0.5403 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.945e-05/0.3383, allocations: 25.8 kB / 0.5403 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.3384, allocations: 30.31 kB / 0.5404 GB, free: 4.777 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3384, allocations: 0 / 0.5404 GB, free: 4.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.362, allocations: 3.248 MB / 0.5435 GB, free: 2.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/8.013, allocations: 10.3 kB / 0.5435 GB, free: 2.906 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.nHeaderLines,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