Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 107 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.235/0.235, allocations: 46.97 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 63.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.417, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003448/0.4204, allocations: 1.682 MB / 0.5635 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.4216, allocations: 0.5504 MB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.4216, allocations: 0 / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.4218, allocations: 23.78 kB / 0.564 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.4222, allocations: 87.61 kB / 0.5641 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.4226, allocations: 139.1 kB / 0.5643 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.4228, allocations: 95.69 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.423, allocations: 15.98 kB / 0.5644 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.423, allocations: 35.86 kB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.4231, allocations: 51.7 kB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.4232, allocations: 4 kB / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.4234, allocations: 103.9 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.4234, allocations: 19.92 kB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.4235, allocations: 27.86 kB / 0.5646 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.4238, allocations: 169.8 kB / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4238, allocations: 0 / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4238, allocations: 4 kB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.4239, allocations: 0 / 0.5648 GB, free: 1.16 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.000732/0.4246, allocations: 361.5 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4246, allocations: 8.031 kB / 0.5651 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.4247, allocations: 8.891 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.4249, allocations: 149.9 kB / 0.5653 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.4249, allocations: 4.375 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.425, allocations: 7.875 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.4253, allocations: 121.1 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4253, allocations: 0 / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4253, allocations: 0 / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4253, allocations: 0 / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.4256, allocations: 67.92 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.4261, allocations: 256.4 kB / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.4264, allocations: 70.53 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.4265, allocations: 48.88 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4266, allocations: 0 / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.4266, allocations: 34.56 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.4266, allocations: 0 / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001642/0.4282, allocations: 385 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.4283, allocations: 77.11 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4285, allocations: 162.4 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.4285, allocations: 25.7 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.4286, allocations: 100.1 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.4287, allocations: 35.69 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.4287, allocations: 25.66 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4289, allocations: 322.8 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.4292, allocations: 71.92 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.4295, allocations: 115.3 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.43, allocations: 148.7 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.43, allocations: 0 / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006401/0.4306, allocations: 193.7 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4306, allocations: 4 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4306, allocations: 0 / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.4307, allocations: 4.031 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.4309, allocations: 43.89 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4309, allocations: 4 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.4311, allocations: 23.97 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.4311, allocations: 7.984 kB / 0.5675 GB, free: 14.12 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.0001138/0.4312, allocations: 117.8 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.4312, allocations: 7.953 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.4319, allocations: 210.1 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4319, allocations: 3.938 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4319, allocations: 0 / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4319, allocations: 0 / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.4328, allocations: 426 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4328, allocations: 3.938 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.433, allocations: 35.95 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.433, allocations: 3.984 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.433, allocations: 0 / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.433, allocations: 8.375 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.433, allocations: 0 / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.4337, allocations: 283.3 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.4337, allocations: 15.84 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.4337, allocations: 12 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.4339, allocations: 23.97 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.434, allocations: 15.91 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.434, allocations: 4.281 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.4341, allocations: 117 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4341, allocations: 0 / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.4344, allocations: 51.8 kB / 0.5688 GB, free: 12.74 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.00189/0.4363, allocations: 0.5381 MB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006052/0.4369, allocations: 151.8 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4369, allocations: 4 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.4372, allocations: 83.86 kB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.4376, allocations: 21.55 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007074/0.4383, allocations: 222.2 kB / 0.5698 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.4385, allocations: 89.25 kB / 0.5699 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.62e-05/0.4386, allocations: 16.42 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.4386, allocations: 23.42 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4386, allocations: 4 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Templates: time 0.007825/0.4465, allocations: 2.678 MB / 0.5725 GB, free: 9.121 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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: 5.125910439994186]