Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001463/0.001463, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001534/0.001534, allocations: 211.9 kB / 23.74 MB, free: 4.535 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2567/0.2567, allocations: 46.94 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 63.89 kB / 0.4967 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4304, allocations: 66.03 MB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003912/0.4343, allocations: 1.691 MB / 0.5628 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.4357, allocations: 0.5698 MB / 0.5634 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.4358, allocations: 4 kB / 0.5634 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007504/0.4365, allocations: 459.1 kB / 0.5638 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.4371, allocations: 291.3 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.4375, allocations: 131 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.4378, allocations: 183.6 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.4379, allocations: 12 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.4381, allocations: 115.7 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.4384, allocations: 251.5 kB / 0.5647 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.4385, allocations: 7.938 kB / 0.5648 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.4386, allocations: 47.98 kB / 0.5648 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.4388, allocations: 87.67 kB / 0.5649 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.4389, allocations: 106.9 kB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.4393, allocations: 276.9 kB / 0.5652 GB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4393, allocations: 4 kB / 0.5652 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4393, allocations: 0 / 0.5652 GB, free: 196 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4394, allocations: 0 / 0.5652 GB, free: 196 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000868/0.4402, allocations: 0.5827 MB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4403, allocations: 12.03 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.4403, allocations: 40.66 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.4407, allocations: 246.8 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4407, allocations: 8.312 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4407, allocations: 384 / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.4409, allocations: 68.61 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4409, allocations: 0 / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.4409, allocations: 4 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4409, allocations: 4 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.441, allocations: 27.97 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.4416, allocations: 363.7 kB / 0.5666 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.4417, allocations: 50.55 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.4418, allocations: 12.86 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.4418, allocations: 0 / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4418, allocations: 38.59 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4418, allocations: 0 / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00121/0.4431, allocations: 321 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.4432, allocations: 51.41 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.4443, allocations: 0.8614 MB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.4444, allocations: 25.7 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.4446, allocations: 232 kB / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.4447, allocations: 23.75 kB / 0.5681 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.4447, allocations: 29.7 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4449, allocations: 358.8 kB / 0.5685 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.113e-05/0.445, allocations: 27.97 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.4451, allocations: 23.98 kB / 0.5685 GB, free: 12.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.4452, allocations: 60.83 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4452, allocations: 3.938 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003426/0.4456, allocations: 141.3 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4456, allocations: 7.938 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4456, allocations: 8 kB / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4456, allocations: 0 / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.4458, allocations: 15.98 kB / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4458, allocations: 0 / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.4458, allocations: 7.984 kB / 0.5688 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.4458, allocations: 4 kB / 0.5688 GB, free: 12.38 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 (8): * Single equations (assignments): 8 * 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.0002141/0.446, allocations: 213.8 kB / 0.569 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.4461, allocations: 55.59 kB / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.4465, allocations: 169.6 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4465, allocations: 4 kB / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4465, allocations: 0 / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4465, allocations: 0 / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007019/0.4472, allocations: 486.2 kB / 0.5697 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4472, allocations: 0 / 0.5697 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.4473, allocations: 15.98 kB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4473, allocations: 4 kB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4473, allocations: 4 kB / 0.5697 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.4473, allocations: 0 / 0.5697 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4473, allocations: 3.938 kB / 0.5697 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.4476, allocations: 244 kB / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.4477, allocations: 35.72 kB / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.4477, allocations: 3.984 kB / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.4478, allocations: 8 kB / 0.57 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.4478, allocations: 7.984 kB / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.4478, allocations: 4 kB / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008236/0.4487, allocations: 0.655 MB / 0.5706 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4487, allocations: 0 / 0.5706 GB, free: 10.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.4489, allocations: 23.98 kB / 0.5706 GB, free: 10.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00188/0.4508, allocations: 482.2 kB / 0.5711 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.4511, allocations: 59.97 kB / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4511, allocations: 0 / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.361e-05/0.4512, allocations: 35.91 kB / 0.5712 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4516, allocations: 30.23 kB / 0.5712 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.4531, allocations: 0.8308 MB / 0.572 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/0.4539, allocations: 0.826 MB / 0.5728 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.317e-05/0.454, allocations: 16.72 kB / 0.5729 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.454, allocations: 19.44 kB / 0.5729 GB, free: 8.211 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.454, allocations: 0 / 0.5729 GB, free: 8.211 MB / 414.1 MB Notification: Performance of Templates: time 0.006234/0.4603, allocations: 1.767 MB / 0.5746 GB, free: 6.453 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.477260693907738]