Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2364/0.2364, allocations: 44.91 MB / 353.5 MB, free: 11.91 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.89 kB / 497.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4951, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.004949/0.5, allocations: 1.655 MB / 0.5504 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.5013, allocations: 473.5 kB / 0.5509 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.5014, allocations: 1.156 kB / 0.5509 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008934/0.5023, allocations: 452.2 kB / 0.5513 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000583/0.5029, allocations: 251.3 kB / 0.5516 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.5036, allocations: 176.6 kB / 0.5517 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.5041, allocations: 172.5 kB / 0.5519 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.5042, allocations: 16.48 kB / 0.5519 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.5045, allocations: 107 kB / 0.552 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.5049, allocations: 255.2 kB / 0.5523 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.5049, allocations: 3.406 kB / 0.5523 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.5051, allocations: 32.88 kB / 0.5523 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.5053, allocations: 90.64 kB / 0.5524 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.5054, allocations: 103.3 kB / 0.5525 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005793/0.506, allocations: 258.8 kB / 0.5527 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.506, allocations: 1.188 kB / 0.5527 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.506, allocations: 0 / 0.5527 GB, free: 10.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.506, allocations: 0 / 0.5527 GB, free: 10.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0014/0.5074, allocations: 0.5813 MB / 0.5533 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.5075, allocations: 9.797 kB / 0.5533 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.5076, allocations: 42.97 kB / 0.5533 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.508, allocations: 242 kB / 0.5536 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.508, allocations: 1.406 kB / 0.5536 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.508, allocations: 2.625 kB / 0.5536 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.5083, allocations: 66.12 kB / 0.5536 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5083, allocations: 12.98 kB / 0.5537 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.5083, allocations: 0 / 0.5537 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5083, allocations: 1.125 kB / 0.5537 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.5085, allocations: 42.39 kB / 0.5537 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/0.5093, allocations: 371.4 kB / 0.5541 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.5095, allocations: 47.94 kB / 0.5541 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.5096, allocations: 24.12 kB / 0.5541 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.5096, allocations: 1.031 kB / 0.5541 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.5097, allocations: 35.55 kB / 0.5542 GB, free: 9.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.5097, allocations: 0 / 0.5542 GB, free: 9.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001282/0.511, allocations: 311 kB / 0.5545 GB, free: 9.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.511, allocations: 56.44 kB / 0.5545 GB, free: 9.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.5124, allocations: 0.859 MB / 0.5553 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.5125, allocations: 25.7 kB / 0.5554 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.5127, allocations: 208.1 kB / 0.5556 GB, free: 8.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.5128, allocations: 31.8 kB / 0.5556 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.5128, allocations: 29.66 kB / 0.5556 GB, free: 8.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.5131, allocations: 366.7 kB / 0.556 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.5132, allocations: 35.97 kB / 0.556 GB, free: 7.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.5134, allocations: 35.97 kB / 0.556 GB, free: 7.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.5137, allocations: 88.8 kB / 0.5561 GB, free: 7.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.5137, allocations: 0 / 0.5561 GB, free: 7.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004783/0.5142, allocations: 153.3 kB / 0.5563 GB, free: 7.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.5142, allocations: 8 kB / 0.5563 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5142, allocations: 0 / 0.5563 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5143, allocations: 0 / 0.5563 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.5144, allocations: 31.92 kB / 0.5563 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.5144, allocations: 0 / 0.5563 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.5146, allocations: 11.92 kB / 0.5563 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5146, allocations: 4 kB / 0.5563 GB, free: 7.562 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0003079/0.5149, allocations: 217.7 kB / 0.5565 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.515, allocations: 43.72 kB / 0.5566 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/0.5156, allocations: 185.7 kB / 0.5568 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5156, allocations: 0 / 0.5568 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5156, allocations: 0 / 0.5568 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.5156, allocations: 7.875 kB / 0.5568 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5167, allocations: 477.5 kB / 0.5572 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5167, allocations: 0 / 0.5572 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.5168, allocations: 19.98 kB / 0.5572 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.5168, allocations: 7.984 kB / 0.5572 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.5168, allocations: 7.938 kB / 0.5573 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5168, allocations: 0 / 0.5573 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5168, allocations: 3.938 kB / 0.5573 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.5174, allocations: 263.1 kB / 0.5575 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.5175, allocations: 39.67 kB / 0.5575 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.5176, allocations: 3.938 kB / 0.5575 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.5177, allocations: 15.98 kB / 0.5576 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.5178, allocations: 0 / 0.5576 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.5178, allocations: 7.984 kB / 0.5576 GB, free: 6.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009433/0.5187, allocations: 0.6433 MB / 0.5582 GB, free: 5.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5187, allocations: 0 / 0.5582 GB, free: 5.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004233/0.5192, allocations: 31.94 kB / 0.5582 GB, free: 5.531 MB / 398.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 (7): * Single equations (assignments): 7 * 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.001889/0.521, allocations: 395.7 kB / 0.5586 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004478/0.5215, allocations: 87.88 kB / 0.5587 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5215, allocations: 3.938 kB / 0.5587 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.5217, allocations: 47.95 kB / 0.5587 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.5223, allocations: 37.41 kB / 0.5588 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.5241, allocations: 0.8143 MB / 0.5596 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.5248, allocations: 0.8336 MB / 0.5604 GB, free: 3.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.525, allocations: 28.22 kB / 0.5604 GB, free: 3.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.525, allocations: 11.44 kB / 0.5604 GB, free: 3.387 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.525, allocations: 7.938 kB / 0.5604 GB, free: 3.379 MB / 398.1 MB Notification: Performance of Templates: time 0.008102/0.5331, allocations: 1.638 MB / 0.562 GB, free: 1.746 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.483966948464513]