Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0009591/0.0009591, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.002662, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001162/0.001162, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002641/0.003803, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.008/1.008, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09989/1.108, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.2661/0.2661, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02671/0.2928, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 292.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.218e-05, allocations: 5.188 kB / 292.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002376/0.002399, allocations: 1.742 MB / 294.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.003744, allocations: 1.317 MB / 295.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.003791, allocations: 4 kB / 295.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.003904, allocations: 27.78 kB / 295.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.004129, allocations: 83.48 kB / 295.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.004403, allocations: 123.6 kB / 295.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.00455, allocations: 83.7 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.004644, allocations: 4 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.00476, allocations: 63.83 kB / 296.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.004873, allocations: 27.91 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.004891, allocations: 4 kB / 296.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.005098, allocations: 99.81 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.005154, allocations: 11.94 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.005179, allocations: 11.94 kB / 296.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005382, allocations: 131.6 kB / 296.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/0.005397, allocations: 0 / 296.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005397, allocations: 0 / 296.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.005413, allocations: 0 / 296.4 MB, free: 2.531 MB / 282.7 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.0004015/0.005814, allocations: 337.1 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.005843, allocations: 8.031 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.005875, allocations: 4.938 kB / 296.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.006019, allocations: 131.9 kB / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.006026, allocations: 384 / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.006044, allocations: 4.375 kB / 296.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.00617, allocations: 106.3 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.006179, allocations: 192 / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.006187, allocations: 4.125 kB / 296.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.006191, allocations: 7.938 kB / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.006216, allocations: 8 kB / 297 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.006409, allocations: 172.2 kB / 297.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.816e-05/0.006468, allocations: 26.56 kB / 297.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.006485, allocations: 12.8 kB / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.006507, allocations: 0 / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.006529, allocations: 38.5 kB / 297.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.00653, allocations: 0 / 297.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000301/0.006831, allocations: 109.9 kB / 297.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.00686, allocations: 51.41 kB / 297.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.006957, allocations: 140.1 kB / 297.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.006968, allocations: 29.7 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.007, allocations: 92.06 kB / 297.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.007024, allocations: 27.73 kB / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.00706, allocations: 21.7 kB / 297.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.007145, allocations: 322.8 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.007158, allocations: 8 kB / 298 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.007192, allocations: 51.47 kB / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.007232, allocations: 32.77 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007234, allocations: 0 / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.596e-05/0.0073, allocations: 61.66 kB / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.007314, allocations: 4 kB / 298.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.00732, allocations: 0 / 298.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.007331, allocations: 3.984 kB / 298.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.007416, allocations: 19.98 kB / 298.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.007419, allocations: 0 / 298.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.007445, allocations: 7.984 kB / 298.2 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.007451, allocations: 0 / 298.2 MB, free: 0.5469 MB / 282.7 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 6.528e-05/0.007516, allocations: 124.6 kB / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.007533, allocations: 7.938 kB / 298.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.007638, allocations: 66.44 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.00764, allocations: 4 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.007642, allocations: 0 / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007645, allocations: 0 / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.007854, allocations: 226.7 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.007857, allocations: 3.984 kB / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.007903, allocations: 16 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.007913, allocations: 7.938 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007915, allocations: 4 kB / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.00792, allocations: 0 / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007921, allocations: 4 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007922, allocations: 0 / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.008036, allocations: 159.8 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.008047, allocations: 3.938 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/0.008084, allocations: 4 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.008113, allocations: 7.922 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.008119, allocations: 8 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.868e-05/0.008148, allocations: 31.02 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008148, allocations: 0 / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.008324, allocations: 39.86 kB / 298.9 MB, free: 15.79 MB / 298.7 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.00147/0.009793, allocations: 0.6924 MB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.416e-05/0.009888, allocations: 28.84 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.009895, allocations: 0 / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.009924, allocations: 32.91 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.0101, allocations: 39.11 kB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.01053, allocations: 184 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.01056, allocations: 63.34 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.493e-05/0.01061, allocations: 15.98 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.01068, allocations: 75.34 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01068, allocations: 0 / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of Templates: time 0.004162/0.01484, allocations: 2.154 MB / 302.1 MB, free: 12.85 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8397514149546623]