Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001439/0.001439, 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.001573/0.001573, allocations: 208.1 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2396/0.2396, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] 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.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 67.88 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.387, allocations: 65.47 MB / 0.5575 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003915/0.391, allocations: 1.672 MB / 0.5591 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3922, allocations: 0.5348 MB / 0.5596 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.3922, allocations: 0 / 0.5596 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.3925, allocations: 67.73 kB / 0.5597 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.3929, allocations: 111.6 kB / 0.5598 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.3933, allocations: 127.6 kB / 0.5599 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3935, allocations: 91.69 kB / 0.56 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3936, allocations: 24.22 kB / 0.56 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.3937, allocations: 35.84 kB / 0.5601 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3938, allocations: 55.8 kB / 0.5601 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.3938, allocations: 4 kB / 0.5601 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.3939, allocations: 55.98 kB / 0.5602 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.394, allocations: 19.92 kB / 0.5602 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.3941, allocations: 35.72 kB / 0.5602 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.3943, allocations: 121.8 kB / 0.5603 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3943, allocations: 0 / 0.5603 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3943, allocations: 0 / 0.5603 GB, free: 4.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3943, allocations: 0 / 0.5603 GB, free: 4.539 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006297/0.395, allocations: 355.6 kB / 0.5607 GB, free: 4.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.395, allocations: 8.031 kB / 0.5607 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.395, allocations: 8.891 kB / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.3953, allocations: 147 kB / 0.5608 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3953, allocations: 4.375 kB / 0.5608 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.3953, allocations: 8.375 kB / 0.5609 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.3955, allocations: 61.8 kB / 0.5609 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3955, allocations: 3.938 kB / 0.5609 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3955, allocations: 0 / 0.5609 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3955, allocations: 8 kB / 0.5609 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.3957, allocations: 43.89 kB / 0.561 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.3962, allocations: 252.4 kB / 0.5612 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.3964, allocations: 50.55 kB / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.105e-05/0.3965, allocations: 29 kB / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.3965, allocations: 0 / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3966, allocations: 38.5 kB / 0.5613 GB, free: 3.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3966, allocations: 4 kB / 0.5613 GB, free: 3.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001516/0.3981, allocations: 393.4 kB / 0.5617 GB, free: 3.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.3981, allocations: 55.41 kB / 0.5618 GB, free: 2.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.3984, allocations: 206.2 kB / 0.5619 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3984, allocations: 29.7 kB / 0.562 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.3985, allocations: 108.1 kB / 0.5621 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.3985, allocations: 43.69 kB / 0.5621 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.3986, allocations: 25.7 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3988, allocations: 326.8 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3989, allocations: 39.97 kB / 0.5625 GB, free: 2.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.399, allocations: 51.89 kB / 0.5625 GB, free: 2.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.3993, allocations: 100.8 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3993, allocations: 3.984 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004005/0.3997, allocations: 137.5 kB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3997, allocations: 8 kB / 0.5628 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3997, allocations: 0 / 0.5628 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3997, allocations: 3.938 kB / 0.5628 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3998, allocations: 31.92 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.3999, allocations: 11.92 kB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.3999, allocations: 8 kB / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3999, allocations: 0 / 0.5628 GB, free: 1.816 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 (11): * Single equations (assignments): 11 * 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.000222/0.4002, allocations: 129.8 kB / 0.563 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.4002, allocations: 15.91 kB / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.4006, allocations: 163 kB / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4006, allocations: 0 / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4006, allocations: 7.938 kB / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4007, allocations: 11.97 kB / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006833/0.4013, allocations: 395.8 kB / 0.5635 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4013, allocations: 0 / 0.5635 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.4015, allocations: 35.91 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.4015, allocations: 3.938 kB / 0.5636 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.4015, allocations: 12 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4015, allocations: 4 kB / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4015, allocations: 0 / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.4019, allocations: 253.1 kB / 0.5638 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.4019, allocations: 15.84 kB / 0.5638 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.402, allocations: 8 kB / 0.5638 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.402, allocations: 8.172 kB / 0.5639 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.4021, allocations: 11.98 kB / 0.5639 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4021, allocations: 12 kB / 0.5639 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.4023, allocations: 164.2 kB / 0.564 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4023, allocations: 0 / 0.564 GB, free: 0.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.4026, allocations: 27.92 kB / 0.5641 GB, free: 484 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001983/0.4045, allocations: 495.7 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003902/0.4049, allocations: 99.88 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4049, allocations: 0 / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.4051, allocations: 59.89 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.4055, allocations: 24.05 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006781/0.4062, allocations: 301 kB / 0.565 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.4063, allocations: 109.6 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.665e-05/0.4064, allocations: 16.48 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.4064, allocations: 15.44 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4064, allocations: 0 / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Templates: time 0.005524/0.4119, allocations: 1.635 MB / 0.5667 GB, free: 13.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.269262434914708]