Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 213.8 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.95 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 79.88 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3188, allocations: 66.08 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003223/0.3221, allocations: 1.684 MB / 0.5624 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3232, allocations: 0.5811 MB / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.3232, allocations: 0 / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.3234, allocations: 23.78 kB / 0.5629 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.3237, allocations: 79.62 kB / 0.563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.3242, allocations: 190.9 kB / 0.5632 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.3243, allocations: 99.69 kB / 0.5633 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3245, allocations: 13.81 kB / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.3245, allocations: 47.77 kB / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.3246, allocations: 39.78 kB / 0.5634 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3247, allocations: 12 kB / 0.5634 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.3248, allocations: 95.94 kB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.3249, allocations: 23.86 kB / 0.5635 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.325, allocations: 35.78 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.3252, allocations: 171.4 kB / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3253, allocations: 0 / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3253, allocations: 0 / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3253, allocations: 0 / 0.5637 GB, free: 0.9375 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.0006697/0.3259, allocations: 377.4 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.326, allocations: 16.03 kB / 0.5641 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.326, allocations: 30.75 kB / 0.5641 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.3261, allocations: 12.83 kB / 0.5641 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.3263, allocations: 142.4 kB / 0.5643 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3263, allocations: 4.375 kB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.3263, allocations: 4.375 kB / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.3266, allocations: 125.6 kB / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3266, allocations: 3.938 kB / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3266, allocations: 7.938 kB / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3266, allocations: 4 kB / 0.5644 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.3269, allocations: 71.86 kB / 0.5645 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.3276, allocations: 303.8 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.3278, allocations: 82.5 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.328, allocations: 44.95 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.328, allocations: 7.922 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3281, allocations: 34.56 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3281, allocations: 0 / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001636/0.3297, allocations: 409.2 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.3297, allocations: 77.11 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3299, allocations: 166.2 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.33, allocations: 29.7 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.33, allocations: 104.1 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.3301, allocations: 31.73 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.3301, allocations: 21.72 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3303, allocations: 326.8 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3306, allocations: 83.91 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.3309, allocations: 119.4 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.3314, allocations: 172.7 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3314, allocations: 0 / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006458/0.3321, allocations: 217.6 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3321, allocations: 11.94 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3321, allocations: 0 / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3321, allocations: 0 / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3323, allocations: 39.95 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3324, allocations: 0 / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.3325, allocations: 31.91 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.3325, allocations: 11.94 kB / 0.5667 GB, free: 13.64 MB / 414.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.0001062/0.3326, allocations: 121.8 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.3327, allocations: 7.953 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007567/0.3334, allocations: 222.2 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3334, allocations: 4 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3334, allocations: 0 / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3334, allocations: 3.984 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3345, allocations: 489.4 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3345, allocations: 0 / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3346, allocations: 35.95 kB / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3346, allocations: 0 / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3347, allocations: 3.938 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3347, allocations: 0 / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3347, allocations: 0 / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006853/0.3353, allocations: 303.6 kB / 0.5678 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.3354, allocations: 15.89 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.3354, allocations: 8.031 kB / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.3356, allocations: 31.91 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.3356, allocations: 15.92 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3357, allocations: 3.984 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.3358, allocations: 127.2 kB / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3358, allocations: 0 / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.3361, allocations: 51.8 kB / 0.5681 GB, free: 12.14 MB / 414.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.002713/0.3388, allocations: 1.257 MB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.3395, allocations: 179.8 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3395, allocations: 0 / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.3398, allocations: 79.92 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.3401, allocations: 19.42 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.3432, allocations: 1.943 MB / 0.5715 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.3433, allocations: 88.81 kB / 0.5716 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.3435, allocations: 32.45 kB / 0.5716 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/0.3436, allocations: 47.34 kB / 0.5716 GB, free: 8.562 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3436, allocations: 0 / 0.5716 GB, free: 8.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.3763, allocations: 5.091 MB / 0.5766 GB, free: 3.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.15, allocations: 10.59 kB / 0.5766 GB, free: 3.469 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.988350906874985]