Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.002123/0.002123, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.003001/0.003001, allocations: 213.9 kB / 23.74 MB, free: 4.656 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.639/1.639, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2715/0.2715, allocations: 46.94 MB / 360.9 MB, free: 4.297 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 67.91 kB / 0.4966 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4279, allocations: 66.03 MB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.004412/0.4323, allocations: 1.625 MB / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.4337, allocations: 0.5767 MB / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.4338, allocations: 8 kB / 0.5633 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008077/0.4346, allocations: 447.1 kB / 0.5637 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007924/0.4354, allocations: 291.3 kB / 0.564 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.436, allocations: 175.3 kB / 0.5642 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.4364, allocations: 175.6 kB / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.4366, allocations: 11.98 kB / 0.5643 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.4368, allocations: 107.8 kB / 0.5644 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.4372, allocations: 247.5 kB / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.4372, allocations: 4 kB / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.4373, allocations: 27.98 kB / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.4374, allocations: 91.55 kB / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.4376, allocations: 95.06 kB / 0.5649 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.438, allocations: 257 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.438, allocations: 0 / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of FrontEnd: time 5.5e-06/0.438, allocations: 4 kB / 0.5651 GB, free: 312 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.438, allocations: 0 / 0.5651 GB, free: 312 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.001/0.439, allocations: 0.566 MB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.297e-05/0.4391, allocations: 12.03 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.4392, allocations: 44.66 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.4395, allocations: 246.7 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.4396, allocations: 384 / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.4396, allocations: 4.375 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.4398, allocations: 58.78 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4398, allocations: 0 / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4398, allocations: 0 / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4398, allocations: 0 / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.4399, allocations: 27.98 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007266/0.4406, allocations: 363.8 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.4407, allocations: 30.56 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.4408, allocations: 16.91 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.4408, allocations: 0 / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4408, allocations: 38.56 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 2.955e-06/0.4408, allocations: 3.984 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003212/0.4411, allocations: 105.3 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.4412, allocations: 51.41 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.4422, allocations: 0.866 MB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.4422, allocations: 25.7 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.4425, allocations: 236.1 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.4425, allocations: 3.953 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.4425, allocations: 25.64 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003361/0.4429, allocations: 358.7 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.4429, allocations: 11.98 kB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.4429, allocations: 8 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.001e-05/0.443, allocations: 32.89 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.443, allocations: 0 / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001698/0.4432, allocations: 97.34 kB / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4432, allocations: 4 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4432, allocations: 0 / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.4433, allocations: 4 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.4433, allocations: 11.98 kB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.4434, allocations: 0 / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.4434, allocations: 3.953 kB / 0.5683 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4434, allocations: 4.031 kB / 0.5683 GB, free: 12.89 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 (2): * Single equations (assignments): 2 * 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.0002873/0.4437, allocations: 221.6 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.4438, allocations: 39.72 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.444, allocations: 104.8 kB / 0.5686 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.444, allocations: 3.938 kB / 0.5686 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.444, allocations: 4 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.444, allocations: 0 / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.4444, allocations: 256.6 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4444, allocations: 4.031 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.4445, allocations: 11.98 kB / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.4445, allocations: 0 / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4445, allocations: 4 kB / 0.5689 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4445, allocations: 0 / 0.5689 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4445, allocations: 0 / 0.5689 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.4447, allocations: 191.2 kB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.4448, allocations: 35.75 kB / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.4448, allocations: 0 / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.4449, allocations: 8 kB / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.4449, allocations: 0 / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.4449, allocations: 3.984 kB / 0.5691 GB, free: 11.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007208/0.4457, allocations: 0.6511 MB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4457, allocations: 3.938 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.4459, allocations: 20 kB / 0.5698 GB, free: 11.27 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 (2): * Single equations (assignments): 2 * 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.001451/0.4474, allocations: 358.5 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.4476, allocations: 23.98 kB / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4476, allocations: 0 / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.4476, allocations: 16.05 kB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.4481, allocations: 30.23 kB / 0.5702 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.4493, allocations: 0.783 MB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.4499, allocations: 0.8298 MB / 0.5718 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.731e-05/0.4499, allocations: 15.72 kB / 0.5718 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.45, allocations: 11.44 kB / 0.5718 GB, free: 9.281 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.45, allocations: 4 kB / 0.5718 GB, free: 9.277 MB / 414.1 MB Notification: Performance of Templates: time 0.005733/0.4557, allocations: 1.275 MB / 0.5731 GB, free: 8.008 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.623082539997995]