Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.0017/0.0017, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00155/0.00155, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2295/0.2295, allocations: 46.95 MB / 360.8 MB, free: 3.93 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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 83.86 kB / 0.4967 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3806, allocations: 66.08 MB / 0.5612 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003734/0.3843, allocations: 1.679 MB / 0.5628 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3855, allocations: 0.5265 MB / 0.5633 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.3856, allocations: 0 / 0.5633 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3859, allocations: 67.78 kB / 0.5634 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.3862, allocations: 111.5 kB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.3866, allocations: 131.6 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3868, allocations: 83.81 kB / 0.5637 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3869, allocations: 20.22 kB / 0.5637 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.387, allocations: 39.84 kB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.3871, allocations: 63.8 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3871, allocations: 7.938 kB / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.3872, allocations: 51.92 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.3873, allocations: 19.92 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.3874, allocations: 31.78 kB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.3876, allocations: 117.9 kB / 0.5641 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3876, allocations: 3.938 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3876, allocations: 0 / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3876, allocations: 0 / 0.5641 GB, free: 1.035 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006473/0.3882, allocations: 353.6 kB / 0.5644 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3883, allocations: 11.97 kB / 0.5644 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.3883, allocations: 12.89 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.3886, allocations: 143 kB / 0.5646 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.3886, allocations: 4.375 kB / 0.5646 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3886, allocations: 4.375 kB / 0.5646 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3888, allocations: 58.23 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3888, allocations: 192 / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.3888, allocations: 7.938 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3888, allocations: 0 / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.389, allocations: 47.89 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.3894, allocations: 248.4 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.3897, allocations: 62.55 kB / 0.565 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.3898, allocations: 24.92 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.3899, allocations: 4 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3899, allocations: 34.56 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3899, allocations: 0 / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001532/0.3914, allocations: 397.3 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.3915, allocations: 63.34 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.3918, allocations: 210.2 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3918, allocations: 29.7 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.3919, allocations: 108.1 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.3919, allocations: 35.69 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.392, allocations: 29.7 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3922, allocations: 330.8 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.3923, allocations: 39.97 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3924, allocations: 43.97 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.3927, allocations: 92.81 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3927, allocations: 0 / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003484/0.393, allocations: 153.8 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.393, allocations: 10.34 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3931, allocations: 0 / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3931, allocations: 0 / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3932, allocations: 27.92 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3932, allocations: 0 / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.3933, allocations: 15.98 kB / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3933, allocations: 7.938 kB / 0.5666 GB, free: 14.3 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 (11): * Single equations (assignments): 11 * 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.0001341/0.3934, allocations: 129.8 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.3935, allocations: 11.91 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.3939, allocations: 170.9 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3939, allocations: 0 / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3939, allocations: 4 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3939, allocations: 7.984 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.3945, allocations: 399.7 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.3946, allocations: 4 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3947, allocations: 27.97 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3947, allocations: 0 / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.3947, allocations: 11.94 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3947, allocations: 64 / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3947, allocations: 4 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.3951, allocations: 253 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.3951, allocations: 15.91 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.3951, allocations: 8.031 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.3952, allocations: 12.11 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.3953, allocations: 15.98 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3953, allocations: 4 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.3955, allocations: 168.2 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3955, allocations: 0 / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.3957, allocations: 27.92 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002001/0.3977, allocations: 493.8 kB / 0.5683 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.3981, allocations: 103.8 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3981, allocations: 0 / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3983, allocations: 55.89 kB / 0.5684 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.3987, allocations: 18.95 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.3994, allocations: 312.7 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.3996, allocations: 101.7 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.02e-05/0.3996, allocations: 16.48 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.3997, allocations: 15.44 kB / 0.5688 GB, free: 11.99 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3997, allocations: 0 / 0.5688 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Templates: time 0.005738/0.4054, allocations: 1.638 MB / 0.5704 GB, free: 10.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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: 5.411986023187637]