Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001489/0.001489, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001684/0.001684, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.509/1.509, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 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.4677/0.4677, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.495e-05, allocations: 2.312 kB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003719/0.003754, allocations: 1.659 MB / 379 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.00511, allocations: 0.5764 MB / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.005191, allocations: 0 / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007352/0.005927, allocations: 451 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006302/0.006557, allocations: 295.2 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.007101, allocations: 175.5 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.007444, allocations: 187.5 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.007564, allocations: 16.22 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.007809, allocations: 115.8 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.008173, allocations: 247.6 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.008197, allocations: 4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.00834, allocations: 51.91 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.008471, allocations: 91.64 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.008544, allocations: 39.73 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.008989, allocations: 259 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.008992, allocations: 0 / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.008993, allocations: 0 / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.009001, allocations: 3.938 kB / 381.4 MB, free: 14.77 MB / 362.7 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.001064/0.01007, allocations: 0.5854 MB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.01011, allocations: 8.031 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.01022, allocations: 44.66 kB / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.01057, allocations: 258 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.01059, allocations: 384 / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.01062, allocations: 4.375 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.01081, allocations: 58.23 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01083, allocations: 4.188 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.01084, allocations: 4.125 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.01085, allocations: 4 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.01098, allocations: 35.91 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.01158, allocations: 340.4 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.01173, allocations: 50.52 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.01179, allocations: 16.95 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.01181, allocations: 3.984 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.01185, allocations: 34.56 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.01185, allocations: 0 / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001178/0.01303, allocations: 328.5 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.01309, allocations: 55.41 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.01413, allocations: 0.8652 MB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.01416, allocations: 25.7 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.01437, allocations: 212.1 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.01442, allocations: 31.73 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.01447, allocations: 21.7 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.0147, allocations: 378.7 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.579e-05/0.0148, allocations: 23.98 kB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.695e-05/0.01489, allocations: 35.91 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.01507, allocations: 72.83 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.01507, allocations: 0 / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002982/0.01537, allocations: 149.4 kB / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.01539, allocations: 8 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.0154, allocations: 0 / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.01542, allocations: 3.984 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.01552, allocations: 16 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01553, allocations: 3.938 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.01561, allocations: 11.98 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.01562, allocations: 4 kB / 385.1 MB, free: 10.94 MB / 362.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 (8): * Single equations (assignments): 8 * 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.0002421/0.01586, allocations: 221.7 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.01594, allocations: 47.67 kB / 385.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.01633, allocations: 177.5 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.01633, allocations: 4.422 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01634, allocations: 0 / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01634, allocations: 0 / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.01706, allocations: 458.8 kB / 386 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01707, allocations: 0 / 386 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.758e-05/0.01714, allocations: 19.92 kB / 386 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.01715, allocations: 12.02 kB / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.01716, allocations: 4 kB / 386 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01717, allocations: 480 / 386 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.01717, allocations: 7.938 kB / 386 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.01755, allocations: 256 kB / 386.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.0176, allocations: 35.72 kB / 386.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.01763, allocations: 0 / 386.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/0.01773, allocations: 7.938 kB / 386.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.01777, allocations: 11.92 kB / 386.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01778, allocations: 8 kB / 386.3 MB, free: 9.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007636/0.01855, allocations: 0.6511 MB / 387 MB, free: 8.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01855, allocations: 4 kB / 387 MB, free: 8.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.01884, allocations: 27.94 kB / 387 MB, free: 8.934 MB / 362.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 (8): * Single equations (assignments): 8 * 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.002252/0.02109, allocations: 495.2 kB / 387.5 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.02135, allocations: 75.89 kB / 387.6 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02135, allocations: 0 / 387.6 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.02147, allocations: 39.97 kB / 387.6 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.0219, allocations: 25.95 kB / 387.6 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.02333, allocations: 0.8573 MB / 388.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.02362, allocations: 232.1 kB / 388.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.841e-05/0.0237, allocations: 21.02 kB / 388.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.02375, allocations: 20.5 kB / 388.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02375, allocations: 0 / 388.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of Templates: time 0.006007/0.02976, allocations: 1.627 MB / 390.4 MB, free: 5.746 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.006332277087495]