Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.0007784/0.0007784, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.001932, 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.0007163/0.0007163, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001766, 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 0.9923/0.9923, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1095/1.102, 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.2906/0.2906, allocations: 34.26 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03203/0.3227, allocations: 13.09 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.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 292.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.481e-05, allocations: 3.078 kB / 292.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.002476/0.0025, allocations: 1.915 MB / 294.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009398/0.00344, allocations: 0.7319 MB / 295.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.003517, allocations: 0 / 295.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.003863, allocations: 171.4 kB / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.004148, allocations: 191.2 kB / 295.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.004619, allocations: 333.8 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.004858, allocations: 231.4 kB / 296.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.004997, allocations: 54.34 kB / 296.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.005199, allocations: 165.4 kB / 296.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.005358, allocations: 131.7 kB / 296.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.005387, allocations: 12 kB / 296.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.005481, allocations: 43.97 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.921e-05/0.00558, allocations: 95.7 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.00564, allocations: 43.81 kB / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.005902, allocations: 239 kB / 297 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-05/0.005923, allocations: 4 kB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005924, allocations: 0 / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.005942, allocations: 0 / 297 MB, free: 1.922 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006524/0.006594, allocations: 0.5813 MB / 297.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.006628, allocations: 8.031 kB / 297.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.006679, allocations: 32.91 kB / 297.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.00691, allocations: 255.9 kB / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.006922, allocations: 4.375 kB / 297.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.006946, allocations: 8.375 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.007134, allocations: 138.9 kB / 298 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.007144, allocations: 192 / 298 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.007154, allocations: 4.125 kB / 298 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.00716, allocations: 4 kB / 298 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.007216, allocations: 31.91 kB / 298 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.007694, allocations: 374.9 kB / 298.4 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.007811, allocations: 69.12 kB / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.007842, allocations: 26.19 kB / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.007872, allocations: 15.94 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.007912, allocations: 38.48 kB / 298.5 MB, free: 240 kB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.007913, allocations: 0 / 298.5 MB, free: 240 kB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.000586/0.008499, allocations: 257.2 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.008543, allocations: 88.98 kB / 298.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.008823, allocations: 393 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.00884, allocations: 33.69 kB / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.008896, allocations: 149.4 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.008939, allocations: 63.42 kB / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.008987, allocations: 33.7 kB / 299.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.009168, allocations: 354.7 kB / 299.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.009205, allocations: 16 kB / 299.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.009248, allocations: 32.05 kB / 299.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.015e-05/0.009328, allocations: 72.42 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00933, allocations: 0 / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001222/0.009452, allocations: 109.6 kB / 300.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.009466, allocations: 8 kB / 300.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.009472, allocations: 0 / 300.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.009481, allocations: 0 / 300.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.009626, allocations: 59.89 kB / 300.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.009629, allocations: 0 / 300.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.009688, allocations: 19.98 kB / 300.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.009699, allocations: 7.984 kB / 300.2 MB, free: 14.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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 7.582e-05/0.009775, allocations: 120.6 kB / 300.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.009815, allocations: 31.95 kB / 300.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.01001, allocations: 145.2 kB / 300.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01002, allocations: 4 kB / 300.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01002, allocations: 7.938 kB / 300.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01002, allocations: 0 / 300.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.01043, allocations: 457.7 kB / 301 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01043, allocations: 0.75 kB / 301 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.01055, allocations: 55.95 kB / 301 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.01058, allocations: 39.69 kB / 301 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01058, allocations: 0 / 301 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01059, allocations: 3.938 kB / 301.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01059, allocations: 4 kB / 301.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.0106, allocations: 11.94 kB / 301.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.01076, allocations: 283.6 kB / 301.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.01078, allocations: 7.938 kB / 301.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.634e-05/0.01088, allocations: 15.98 kB / 301.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.01093, allocations: 23.97 kB / 301.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.01094, allocations: 3.984 kB / 301.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.01107, allocations: 191.5 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01107, allocations: 0 / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.01127, allocations: 44 kB / 301.6 MB, free: 13.01 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.00151/0.01278, allocations: 0.5553 MB / 302.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01293, allocations: 72.75 kB / 302.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.01294, allocations: 8 kB / 302.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/0.013, allocations: 40.78 kB / 302.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.0133, allocations: 81.33 kB / 302.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007939/0.01409, allocations: 0.5928 MB / 303 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.184e-05/0.01417, allocations: 117 kB / 303.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.792e-05/0.01425, allocations: 42.25 kB / 303.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.01437, allocations: 87.36 kB / 303.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01437, allocations: 0 / 303.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of Templates: time 0.006605/0.02097, allocations: 3.93 MB / 307.1 MB, free: 7.812 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.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.8762707617133856]