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.001593/0.001593, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001904/0.001904, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2296/0.2296, allocations: 46.92 MB / 361.6 MB, free: 4.199 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 79.86 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3262, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003135/0.3293, allocations: 1.707 MB / 0.5632 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3304, allocations: 0.6083 MB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.3304, allocations: 0 / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.3306, allocations: 27.78 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.3309, allocations: 91.44 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.3313, allocations: 187 kB / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3315, allocations: 99.69 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3316, allocations: 13.81 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.3317, allocations: 43.83 kB / 0.5642 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.3318, allocations: 47.78 kB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3318, allocations: 8 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.332, allocations: 107.9 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.332, allocations: 23.91 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.3321, allocations: 39.73 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.3324, allocations: 171.4 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3324, allocations: 4 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3324, allocations: 0 / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3324, allocations: 0 / 0.5646 GB, free: 1.133 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.0006665/0.3331, allocations: 381.3 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3331, allocations: 8.031 kB / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.418e-05/0.3331, allocations: 4.188 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.3331, allocations: 34.75 kB / 0.565 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.3332, allocations: 12.88 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3334, allocations: 146.3 kB / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3334, allocations: 4.375 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.3334, allocations: 4.375 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.3337, allocations: 99.61 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3337, allocations: 0 / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3337, allocations: 7.984 kB / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3337, allocations: 0 / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.334, allocations: 71.92 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.3347, allocations: 323.8 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.3349, allocations: 70.47 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.3351, allocations: 52.94 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3351, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3351, allocations: 38.55 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.3351, allocations: 0 / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001652/0.3368, allocations: 409 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.3368, allocations: 85.05 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.337, allocations: 166.1 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.337, allocations: 25.7 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.3371, allocations: 112.1 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3372, allocations: 27.83 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.3372, allocations: 29.66 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3374, allocations: 330.8 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.3377, allocations: 75.92 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.338, allocations: 97.62 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.3385, allocations: 168.6 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3385, allocations: 0 / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006485/0.3392, allocations: 205.5 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3392, allocations: 8 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3392, allocations: 0 / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3392, allocations: 0 / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.3394, allocations: 43.89 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3394, allocations: 4 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3396, allocations: 31.86 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.3396, allocations: 7.984 kB / 0.5676 GB, free: 13.89 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.0001045/0.3397, allocations: 117.8 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.3398, allocations: 11.95 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/0.3405, allocations: 222.4 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3405, allocations: 96 / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3405, allocations: 3.938 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3405, allocations: 11.94 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.3415, allocations: 489.3 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3415, allocations: 0 / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.3417, allocations: 51.89 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3417, allocations: 3.938 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3417, allocations: 0 / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3417, allocations: 384 / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3417, allocations: 0 / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.3424, allocations: 303.2 kB / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.3424, allocations: 19.89 kB / 0.5687 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.3425, allocations: 7.938 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.3426, allocations: 27.97 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.3427, allocations: 11.97 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3427, allocations: 4 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.3428, allocations: 123.2 kB / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3428, allocations: 0 / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.3431, allocations: 55.86 kB / 0.569 GB, free: 12.37 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.002706/0.3458, allocations: 1.227 MB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006881/0.3465, allocations: 175.8 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3465, allocations: 0 / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.3469, allocations: 99.84 kB / 0.5704 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.3473, allocations: 26.33 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.3506, allocations: 1.929 MB / 0.5723 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.351, allocations: 0.7125 MB / 0.573 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.3511, allocations: 32.44 kB / 0.5731 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.555e-05/0.3512, allocations: 39.53 kB / 0.5731 GB, free: 8.176 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3512, allocations: 7.938 kB / 0.5731 GB, free: 8.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.3754, allocations: 4.598 MB / 0.5776 GB, free: 3.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.05, allocations: 4.062 kB / 0.5776 GB, free: 3.586 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: 14.074128779000603]