Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001856/0.001856, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002189/0.002189, allocations: 209.2 kB / 24.48 MB, free: 3.836 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.522/1.522, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.244/0.244, allocations: 46.96 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3441, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003224/0.3473, allocations: 1.648 MB / 0.5634 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3484, allocations: 0.5622 MB / 0.564 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.3485, allocations: 0 / 0.564 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.3491, allocations: 459.1 kB / 0.5644 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.3495, allocations: 295.3 kB / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.35, allocations: 179.4 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.3502, allocations: 175.6 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.3503, allocations: 15.97 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.3504, allocations: 119.7 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.3507, allocations: 251.5 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3507, allocations: 4 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-05/0.3508, allocations: 35.92 kB / 0.5655 GB, free: 468 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3509, allocations: 83.69 kB / 0.5655 GB, free: 384 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/0.351, allocations: 67.25 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.3513, allocations: 277 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3513, allocations: 4 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3513, allocations: 0 / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3513, allocations: 0 / 0.5659 GB, free: 40 kB / 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.0007626/0.3521, allocations: 0.5854 MB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3521, allocations: 8.031 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.3522, allocations: 48.61 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3525, allocations: 250.8 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3525, allocations: 4.375 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3525, allocations: 384 / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3527, allocations: 65.8 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3527, allocations: 7.984 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.3527, allocations: 0 / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3527, allocations: 0 / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.3528, allocations: 51.83 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.3534, allocations: 336.4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.3535, allocations: 46.55 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.3535, allocations: 28.94 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3536, allocations: 0 / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3536, allocations: 38.5 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3536, allocations: 0 / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008599/0.3545, allocations: 324.6 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3545, allocations: 59.34 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009253/0.3554, allocations: 0.8613 MB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3555, allocations: 33.69 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3556, allocations: 208.1 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.3557, allocations: 23.8 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.3557, allocations: 21.78 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3559, allocations: 366.7 kB / 0.5691 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.356, allocations: 43.94 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.3561, allocations: 43.97 kB / 0.5692 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.3564, allocations: 89.02 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3564, allocations: 0 / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003303/0.3567, allocations: 161.3 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3567, allocations: 14.44 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3567, allocations: 0 / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3567, allocations: 0 / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3569, allocations: 19.98 kB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3569, allocations: 0 / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-05/0.3569, allocations: 15.98 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.357, allocations: 0 / 0.5695 GB, free: 12.15 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 (7): * Single equations (assignments): 7 * 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.0002108/0.3572, allocations: 221.7 kB / 0.5697 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.3572, allocations: 39.72 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.3576, allocations: 185.4 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3576, allocations: 3.984 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3576, allocations: 0 / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3576, allocations: 0 / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.3583, allocations: 458 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3583, allocations: 7.938 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.3584, allocations: 19.98 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3584, allocations: 3.938 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3584, allocations: 0 / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3584, allocations: 0 / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3584, allocations: 3.938 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.3588, allocations: 259.1 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.3589, allocations: 39.72 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3589, allocations: 4 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.359, allocations: 11.98 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.359, allocations: 7.922 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.359, allocations: 4 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006675/0.3597, allocations: 0.6511 MB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3597, allocations: 3.938 kB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.36, allocations: 27.98 kB / 0.5714 GB, free: 10.15 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 (7): * Single equations (assignments): 7 * 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.001548/0.3615, allocations: 435.4 kB / 0.5718 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.3618, allocations: 91.88 kB / 0.5719 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3618, allocations: 0 / 0.5719 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.362, allocations: 48.05 kB / 0.5719 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3624, allocations: 32.06 kB / 0.5719 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3637, allocations: 0.8746 MB / 0.5728 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.3639, allocations: 228.1 kB / 0.573 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.364, allocations: 15.42 kB / 0.573 GB, free: 8.574 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.364, allocations: 3.938 kB / 0.573 GB, free: 8.57 MB / 414.1 MB Notification: Performance of Templates: time 0.007563/0.3715, allocations: 4.07 MB / 0.577 GB, free: 4.492 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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: 7.900256632361561]