Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001434/0.001434, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.001624/0.001624, allocations: 157.7 kB / 24.27 MB, free: 164 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.517/1.517, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3889/0.3889, allocations: 34.26 MB / 295.3 MB, free: 0.6719 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.441e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003904/0.003938, allocations: 2 MB / 379.3 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.006381, allocations: 1.086 MB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.006559, allocations: 11.94 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.007154, allocations: 267 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006759/0.007829, allocations: 266.9 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.009374, allocations: 0.6352 MB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006354/0.01001, allocations: 367 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.01021, allocations: 52.77 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.01059, allocations: 187.4 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.01093, allocations: 199.5 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/0.01097, allocations: 12 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.01124, allocations: 103.8 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.01141, allocations: 99.61 kB / 382.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.01153, allocations: 63.72 kB / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.0121, allocations: 338.7 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.01211, allocations: 0 / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.02e-06/0.01211, allocations: 3.984 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.01212, allocations: 3.938 kB / 383 MB, free: 13.26 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009791/0.0131, allocations: 0.5932 MB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.01314, allocations: 12.02 kB / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.01327, allocations: 52.66 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.0137, allocations: 275.9 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.01372, allocations: 8.375 kB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.01377, allocations: 28.25 kB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.01407, allocations: 118.2 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.01409, allocations: 4.188 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.01411, allocations: 8.125 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.01411, allocations: 0 / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.01433, allocations: 95.86 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008095/0.01514, allocations: 428.1 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.01539, allocations: 110.4 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.01548, allocations: 44.84 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.01551, allocations: 0 / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.01554, allocations: 34.56 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.01554, allocations: 0 / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001218/0.01676, allocations: 452.6 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.01682, allocations: 55.41 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007412/0.01756, allocations: 0.5721 MB / 385.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.01759, allocations: 29.7 kB / 385.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.01779, allocations: 216.4 kB / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.01787, allocations: 55.47 kB / 386.1 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.01794, allocations: 37.72 kB / 386.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.01815, allocations: 354.8 kB / 386.5 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.0184, allocations: 67.95 kB / 386.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.01854, allocations: 71.86 kB / 386.6 MB, free: 9.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.01886, allocations: 146.8 kB / 386.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01886, allocations: 4 kB / 386.8 MB, free: 9.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000464/0.01932, allocations: 251.4 kB / 387 MB, free: 9.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.01934, allocations: 7.938 kB / 387 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01935, allocations: 0 / 387 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.01937, allocations: 4 kB / 387 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.01953, allocations: 27.98 kB / 387.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.01953, allocations: 4 kB / 387.1 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.01962, allocations: 11.98 kB / 387.1 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01963, allocations: 4 kB / 387.1 MB, free: 8.969 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 (17): * Single equations (assignments): 17 * 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.0002032/0.01984, allocations: 185.7 kB / 387.3 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.646e-05/0.01993, allocations: 47.72 kB / 387.3 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.02053, allocations: 273.6 kB / 387.6 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.02053, allocations: 0 / 387.6 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.02054, allocations: 7.938 kB / 387.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.02054, allocations: 0 / 387.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.02156, allocations: 0.5979 MB / 388.2 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02157, allocations: 4 kB / 388.2 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.02169, allocations: 31.92 kB / 388.2 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.02169, allocations: 4 kB / 388.2 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.02171, allocations: 3.984 kB / 388.2 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.02171, allocations: 0 / 388.2 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.02171, allocations: 4 kB / 388.2 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.02224, allocations: 339 kB / 388.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.0223, allocations: 43.66 kB / 388.6 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.02233, allocations: 4 kB / 388.6 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.02244, allocations: 15.98 kB / 388.6 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.02249, allocations: 7.984 kB / 388.6 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.0225, allocations: 4 kB / 388.6 MB, free: 7.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005106/0.02301, allocations: 427.1 kB / 389 MB, free: 6.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02301, allocations: 0 / 389 MB, free: 6.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003552/0.02336, allocations: 55.92 kB / 389.1 MB, free: 6.871 MB / 362.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 (17): * Single equations (assignments): 17 * 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.003784/0.02715, allocations: 0.7527 MB / 389.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004234/0.02757, allocations: 167.8 kB / 390 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02757, allocations: 0 / 390 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.02775, allocations: 87.88 kB / 390.1 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.02841, allocations: 96.88 kB / 390.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.02985, allocations: 0.7432 MB / 390.9 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.03015, allocations: 228.8 kB / 391.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.03031, allocations: 57.89 kB / 391.2 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.03039, allocations: 28.5 kB / 391.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03039, allocations: 4 kB / 391.2 MB, free: 5.051 MB / 362.7 MB Notification: Performance of Templates: time 0.009005/0.0394, allocations: 3.442 MB / 394.7 MB, free: 1.652 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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: 4.953401215025224]