Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001678/0.001678, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001565/0.001565, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.606/1.606, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2519/0.2519, allocations: 46.95 MB / 360.9 MB, free: 4.051 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 59.91 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4039, allocations: 66.03 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003859/0.4078, allocations: 1.97 MB / 0.563 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.4098, allocations: 0.9907 MB / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.4099, allocations: 4 kB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005071/0.4104, allocations: 251.2 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.4109, allocations: 278.9 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.4121, allocations: 493.5 kB / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.4125, allocations: 338.9 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.4127, allocations: 55.5 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.4129, allocations: 147.4 kB / 0.5655 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.4132, allocations: 231.2 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.4132, allocations: 12 kB / 0.5657 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.4134, allocations: 71.91 kB / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.4135, allocations: 91.67 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.735e-05/0.4136, allocations: 95.16 kB / 0.566 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.414, allocations: 322 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4141, allocations: 0 / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4141, allocations: 4 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4141, allocations: 0 / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008282/0.4149, allocations: 0.5855 MB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4149, allocations: 12.03 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.04e-05/0.415, allocations: 44.66 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.4154, allocations: 256.7 kB / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4154, allocations: 8.375 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.4154, allocations: 16.36 kB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.4157, allocations: 113.6 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4157, allocations: 0 / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.4157, allocations: 8 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4157, allocations: 0 / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.4159, allocations: 67.95 kB / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.4166, allocations: 400.1 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.4169, allocations: 98.41 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.417, allocations: 32.84 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.417, allocations: 3.984 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.417, allocations: 38.56 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.417, allocations: 0 / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001/0.418, allocations: 388.7 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4181, allocations: 59.34 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.4187, allocations: 0.5565 MB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.4188, allocations: 29.7 kB / 0.5689 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.4189, allocations: 204.4 kB / 0.5691 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.419, allocations: 63.47 kB / 0.5691 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.4191, allocations: 33.7 kB / 0.5692 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4192, allocations: 354.7 kB / 0.5695 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.4194, allocations: 51.91 kB / 0.5696 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.4195, allocations: 54.94 kB / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.4197, allocations: 120.8 kB / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4197, allocations: 0 / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003855/0.4201, allocations: 207.5 kB / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4201, allocations: 4 kB / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4201, allocations: 0 / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4201, allocations: 0 / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.4203, allocations: 39.91 kB / 0.57 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4203, allocations: 4 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.4204, allocations: 8 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.4204, allocations: 4 kB / 0.57 GB, free: 10.88 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 (17): * Single equations (assignments): 17 * 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.0001693/0.4206, allocations: 169.8 kB / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/0.4206, allocations: 51.64 kB / 0.5702 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/0.4211, allocations: 241.3 kB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4211, allocations: 4 kB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4211, allocations: 4 kB / 0.5704 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.4211, allocations: 4 kB / 0.5704 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007937/0.4219, allocations: 0.5354 MB / 0.571 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4219, allocations: 0 / 0.571 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4221, allocations: 31.98 kB / 0.571 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4221, allocations: 0 / 0.571 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.4221, allocations: 11.98 kB / 0.571 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4221, allocations: 3.938 kB / 0.571 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4221, allocations: 3.938 kB / 0.571 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.4225, allocations: 307.1 kB / 0.5713 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.4226, allocations: 27.77 kB / 0.5713 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.4226, allocations: 0 / 0.5713 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.4227, allocations: 11.98 kB / 0.5713 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.4227, allocations: 11.97 kB / 0.5713 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.4228, allocations: 8 kB / 0.5714 GB, free: 9.402 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004948/0.4232, allocations: 427 kB / 0.5718 GB, free: 8.984 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4232, allocations: 0 / 0.5718 GB, free: 8.984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.4236, allocations: 47.94 kB / 0.5718 GB, free: 8.938 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 (17): * Single equations (assignments): 17 * 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.003107/0.4267, allocations: 0.7634 MB / 0.5726 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.4271, allocations: 119.8 kB / 0.5727 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4271, allocations: 0 / 0.5727 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.4272, allocations: 67.91 kB / 0.5727 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.4279, allocations: 85.56 kB / 0.5728 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.4291, allocations: 0.7125 MB / 0.5735 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.4293, allocations: 204.2 kB / 0.5737 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.4294, allocations: 45.91 kB / 0.5738 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.4295, allocations: 35.42 kB / 0.5738 GB, free: 7.242 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4295, allocations: 0 / 0.5738 GB, free: 7.242 MB / 414.1 MB Notification: Performance of Templates: time 0.008593/0.4381, allocations: 3.61 MB / 0.5773 GB, free: 3.664 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.4969322620891035]