Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001468/0.001468, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001685/0.001685, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.601/1.601, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2433/0.2433, allocations: 46.96 MB / 360.9 MB, free: 4.16 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.88 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4371, allocations: 66.03 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003696/0.4408, allocations: 1.655 MB / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.442, allocations: 0.7556 MB / 0.5634 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.4421, allocations: 0 / 0.5634 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.4424, allocations: 27.84 kB / 0.5635 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.4426, allocations: 47.89 kB / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.699e-06/0.4426, allocations: 0 / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.4428, allocations: 39.77 kB / 0.5635 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.4428, allocations: 0 / 0.5635 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.436e-05/0.4428, allocations: 7.938 kB / 0.5636 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.4429, allocations: 23.91 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.4429, allocations: 0 / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.756e-05/0.4429, allocations: 8 kB / 0.5636 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.443, allocations: 24.83 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.443, allocations: 15.88 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.4432, allocations: 74 kB / 0.5637 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4432, allocations: 4 kB / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4432, allocations: 0 / 0.5637 GB, free: 1.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.4432, allocations: 0 / 0.5637 GB, free: 1.504 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003702/0.4436, allocations: 290 kB / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4436, allocations: 12.03 kB / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.4437, allocations: 4.891 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.4438, allocations: 114.4 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4438, allocations: 4.375 kB / 0.5641 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.4438, allocations: 4.359 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.444, allocations: 127.4 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.444, allocations: 4.125 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.444, allocations: 3.938 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.4441, allocations: 23.98 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/0.4441, allocations: 39.92 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000707/0.4449, allocations: 0.8396 MB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.445, allocations: 169.1 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.445, allocations: 80.14 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/0.4451, allocations: 75.38 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.518e-05/0.4451, allocations: 113.7 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.4451, allocations: 4 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.965e-05/0.4452, allocations: 37.61 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/0.4453, allocations: 130.7 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.4456, allocations: 190.1 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.4456, allocations: 25.7 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4457, allocations: 151.5 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.4457, allocations: 0 / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.4458, allocations: 45.66 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.446, allocations: 322.8 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.446, allocations: 31.98 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.4462, allocations: 163.5 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.4465, allocations: 204.8 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.4465, allocations: 4 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003375/0.4468, allocations: 193.2 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4468, allocations: 11.92 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.4469, allocations: 12 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4469, allocations: 4.625 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.4471, allocations: 39.91 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.4471, allocations: 15.94 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.4472, allocations: 27.78 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4472, allocations: 8 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001655/0.4473, allocations: 221 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.4474, allocations: 112.9 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.4476, allocations: 116.6 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-05/0.4477, allocations: 180.2 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-05/0.4477, allocations: 184.4 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-05/0.4478, allocations: 184.2 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.4481, allocations: 376.8 kB / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.917e-05/0.4482, allocations: 105 kB / 0.5685 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.4482, allocations: 104.9 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.301e-05/0.4483, allocations: 180.3 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/0.4484, allocations: 192.1 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001441/0.4485, allocations: 176.3 kB / 0.5691 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001507/0.4487, allocations: 180.3 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.4489, allocations: 311.7 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.4489, allocations: 120.9 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.582e-05/0.449, allocations: 180.2 kB / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.4491, allocations: 105 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.4492, allocations: 184.2 kB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4493, allocations: 101 kB / 0.5703 GB, free: 10.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.4494, allocations: 140 kB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4494, allocations: 0 / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.4498, allocations: 12 kB / 0.5704 GB, free: 10.11 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 (0): * Single equations (assignments): 0 * 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.0007463/0.4505, allocations: 287.1 kB / 0.5707 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.4507, allocations: 72.73 kB / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4507, allocations: 0 / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/0.4507, allocations: 7.922 kB / 0.5707 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.4512, allocations: 468.5 kB / 0.5712 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.4517, allocations: 249 kB / 0.5714 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.4518, allocations: 91.44 kB / 0.5715 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.452, allocations: 49.33 kB / 0.5716 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.452, allocations: 15.44 kB / 0.5716 GB, free: 8.898 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.452, allocations: 0 / 0.5716 GB, free: 8.898 MB / 414.1 MB Notification: Performance of Templates: time 0.003388/0.4554, allocations: 0.7414 MB / 0.5723 GB, free: 8.168 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.3062157686799765]