Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001441/0.001441, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001791/0.001791, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.2468/0.2468, allocations: 46.95 MB / 360.9 MB, free: 4.062 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 71.89 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3197, allocations: 66.03 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003466/0.3232, allocations: 1.61 MB / 0.5627 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3244, allocations: 0.5456 MB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.3244, allocations: 0 / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.325, allocations: 451.1 kB / 0.5636 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.3255, allocations: 299.3 kB / 0.5639 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.3259, allocations: 175.1 kB / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.3261, allocations: 171.7 kB / 0.5642 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.3262, allocations: 15.94 kB / 0.5643 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3264, allocations: 111.8 kB / 0.5644 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.3266, allocations: 247.5 kB / 0.5646 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.3267, allocations: 0 / 0.5646 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.033e-05/0.3267, allocations: 31.92 kB / 0.5646 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.3269, allocations: 83.69 kB / 0.5647 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.3269, allocations: 71.23 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.3273, allocations: 265 kB / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3273, allocations: 0 / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3273, allocations: 0 / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3273, allocations: 0 / 0.565 GB, free: 148 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008398/0.3281, allocations: 0.5777 MB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3282, allocations: 15.97 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.3282, allocations: 44.61 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.3285, allocations: 238.8 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.3286, allocations: 384 / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.3286, allocations: 4.375 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3287, allocations: 66.78 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3287, allocations: 0 / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3288, allocations: 0 / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3288, allocations: 0 / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.3289, allocations: 35.97 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.3294, allocations: 344.3 kB / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.3295, allocations: 42.56 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.3296, allocations: 28.92 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3296, allocations: 4 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3296, allocations: 30.56 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3296, allocations: 0 / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003468/0.33, allocations: 133.3 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.33, allocations: 51.41 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008909/0.3309, allocations: 0.869 MB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3309, allocations: 29.7 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.3311, allocations: 212.1 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.3311, allocations: 11.91 kB / 0.5677 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.3312, allocations: 17.72 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3314, allocations: 362.8 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.3314, allocations: 15.98 kB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.3315, allocations: 16.17 kB / 0.5681 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3316, allocations: 56.83 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3316, allocations: 0 / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002052/0.3318, allocations: 117.3 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3318, allocations: 4 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.3319, allocations: 4 kB / 0.5682 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3319, allocations: 0 / 0.5682 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.3319, allocations: 11.98 kB / 0.5683 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3319, allocations: 0 / 0.5683 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.634e-05/0.332, allocations: 7.984 kB / 0.5683 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.332, allocations: 4 kB / 0.5683 GB, free: 12.65 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 (3): * Single equations (assignments): 3 * 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.0002004/0.3322, allocations: 213.7 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.3323, allocations: 39.72 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.3325, allocations: 133 kB / 0.5686 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3325, allocations: 0 / 0.5686 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3326, allocations: 0 / 0.5686 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3326, allocations: 3.984 kB / 0.5686 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.3328, allocations: 237.2 kB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3328, allocations: 0 / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.3329, allocations: 11.98 kB / 0.5689 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3329, allocations: 4 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3329, allocations: 0 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3329, allocations: 0 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3329, allocations: 0 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.3332, allocations: 219.1 kB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.3332, allocations: 35.66 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3332, allocations: 0 / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.3333, allocations: 7.984 kB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.3333, allocations: 4 kB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3333, allocations: 3.938 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006771/0.334, allocations: 0.655 MB / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.334, allocations: 0 / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3343, allocations: 19.98 kB / 0.5698 GB, free: 11.01 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 (3): * Single equations (assignments): 3 * 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.001381/0.3357, allocations: 385 kB / 0.5702 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.3359, allocations: 39.95 kB / 0.5702 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3359, allocations: 0 / 0.5702 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.3359, allocations: 23.92 kB / 0.5702 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3363, allocations: 30.23 kB / 0.5703 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.3375, allocations: 0.7985 MB / 0.571 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3377, allocations: 224.1 kB / 0.5712 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.3378, allocations: 19.72 kB / 0.5713 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.3378, allocations: 11.44 kB / 0.5713 GB, free: 9.598 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3378, allocations: 0 / 0.5713 GB, free: 9.598 MB / 414.1 MB Notification: Performance of Templates: time 0.005071/0.3429, allocations: 1.487 MB / 0.5727 GB, free: 8.121 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.127996811643243]