Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.000978/0.000978, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.00115/0.00115, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 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 0.9555/0.9555, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.2438/0.2438, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.567e-05, allocations: 6.25 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003002/0.003028, allocations: 1.693 MB / 378.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009028/0.003931, allocations: 0.5374 MB / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.003997, allocations: 0 / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.00448, allocations: 451.1 kB / 379.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.004842, allocations: 299.2 kB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.005084, allocations: 131.5 kB / 379.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.005255, allocations: 167.7 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.005337, allocations: 15.94 kB / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.005445, allocations: 115.8 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.005621, allocations: 243.6 kB / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.005636, allocations: 4 kB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.87e-05/0.005705, allocations: 35.92 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.005788, allocations: 79.72 kB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.005817, allocations: 39.73 kB / 380.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.006309, allocations: 203.1 kB / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.006314, allocations: 0 / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006315, allocations: 0 / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.00632, allocations: 0 / 380.5 MB, free: 396 kB / 346.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.0005273/0.006847, allocations: 0.6931 MB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.006882, allocations: 8.031 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.006927, allocations: 44.66 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.007103, allocations: 248.8 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.007112, allocations: 4.375 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.007128, allocations: 384 / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.739e-05/0.007226, allocations: 62.89 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.007241, allocations: 8.172 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.007251, allocations: 4.125 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.007257, allocations: 0 / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.054e-05/0.007278, allocations: 4 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.007565, allocations: 344.2 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.007702, allocations: 43 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.007719, allocations: 19.77 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.007743, allocations: 3.938 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.007762, allocations: 37.39 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.007763, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002991/0.008062, allocations: 117.3 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.008089, allocations: 55.41 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.008441, allocations: 0.5962 MB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.008454, allocations: 33.7 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.008592, allocations: 302.6 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.00861, allocations: 15.84 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.008639, allocations: 19.38 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.008803, allocations: 0.5625 MB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.008816, allocations: 4 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-06/0.008825, allocations: 4 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.008867, allocations: 35.8 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.008868, allocations: 0 / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.737e-05/0.008955, allocations: 93.34 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.008967, allocations: 4 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.008972, allocations: 0 / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.008985, allocations: 0 / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/0.009032, allocations: 12 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.009035, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.009061, allocations: 3.984 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.009067, allocations: 8 kB / 383.8 MB, free: 12.82 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 (5): * Single equations (assignments): 5 * 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.736e-05/0.009144, allocations: 160.5 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.009182, allocations: 51.61 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.009311, allocations: 89.23 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.009313, allocations: 288 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.009314, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.00932, allocations: 7.984 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.009606, allocations: 381.8 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.009608, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.009641, allocations: 19.98 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.009643, allocations: 0 / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.009648, allocations: 4 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.009649, allocations: 0 / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00965, allocations: 0 / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.00976, allocations: 251.7 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.009782, allocations: 31.72 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.009799, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.009838, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.00986, allocations: 7.984 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.009864, allocations: 4 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.01006, allocations: 390.7 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01006, allocations: 3.938 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.01023, allocations: 27.94 kB / 385.2 MB, free: 11.35 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 (5): * Single equations (assignments): 5 * 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.0008712/0.0111, allocations: 391.1 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.423e-05/0.01117, allocations: 23.67 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01117, allocations: 0 / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.082e-05/0.01119, allocations: 19.62 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.01144, allocations: 33.12 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.01204, allocations: 0.5612 MB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.038e-05/0.01212, allocations: 119.2 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.44e-05/0.01215, allocations: 15.98 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.01221, allocations: 74.2 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01221, allocations: 0 / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Templates: time 0.004323/0.01653, allocations: 1.499 MB / 388 MB, free: 8.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.9489047531969845]