Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001056/0.001056, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001113/0.001113, allocations: 161 kB / 24.56 MB, free: 16 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.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.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.2534/0.2534, allocations: 34.25 MB / 295.7 MB, free: 0.7578 MB / 266.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.17e-05, allocations: 5.688 kB / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002133/0.002154, allocations: 1.701 MB / 379.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.003375, allocations: 1.317 MB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.003429, allocations: 4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.003646, allocations: 19.86 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.003928, allocations: 99.41 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.00422, allocations: 171.5 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.004349, allocations: 79.75 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.004441, allocations: 11.98 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.004499, allocations: 47.83 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.736e-05/0.004586, allocations: 27.92 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.004602, allocations: 4 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.004726, allocations: 91.81 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.004779, allocations: 27.91 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.00481, allocations: 19.92 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.005014, allocations: 143.5 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.005016, allocations: 4 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005017, allocations: 0 / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.005021, allocations: 0 / 381.8 MB, free: 14.85 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000391/0.005412, allocations: 431.9 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.005447, allocations: 8.031 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.00549, allocations: 12.89 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.005639, allocations: 140.4 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.005649, allocations: 4.375 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.005675, allocations: 4.359 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.005848, allocations: 112 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.00586, allocations: 8.125 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.005874, allocations: 4.125 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.005882, allocations: 4 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.658e-05/0.005919, allocations: 7.984 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.006257, allocations: 295.7 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.59e-05/0.006333, allocations: 38.98 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.006362, allocations: 19.62 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.006386, allocations: 4 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.006409, allocations: 33.39 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.00641, allocations: 4 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003952/0.006805, allocations: 133.5 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.006839, allocations: 81.11 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.006956, allocations: 191.8 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.00697, allocations: 33.69 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.007297, allocations: 138.9 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.007321, allocations: 27.73 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.007353, allocations: 27.38 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.007459, allocations: 0.4884 MB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.007483, allocations: 12 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.007524, allocations: 61.06 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.007576, allocations: 43.62 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.007577, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.056e-05/0.007667, allocations: 69.64 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.007679, allocations: 7.938 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.007684, allocations: 0 / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.0077, allocations: 0 / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.00778, allocations: 19.98 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.007785, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.007811, allocations: 7.984 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.007817, allocations: 4.031 kB / 384.2 MB, free: 12.17 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 (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 7.09e-05/0.007888, allocations: 168.5 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.00791, allocations: 7.953 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.008036, allocations: 74.45 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008038, allocations: 4 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.008042, allocations: 0 / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.008046, allocations: 3.984 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.008289, allocations: 341.7 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.00829, allocations: 0 / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.008331, allocations: 19.98 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.008333, allocations: 0 / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.008341, allocations: 4 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008342, allocations: 0 / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008343, allocations: 0 / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.008465, allocations: 235.8 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.008474, allocations: 7.953 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.008486, allocations: 0 / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.045e-05/0.008527, allocations: 7.984 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.008566, allocations: 8 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.008569, allocations: 288 / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.535e-05/0.008634, allocations: 153.8 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008634, allocations: 0 / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.008844, allocations: 43.86 kB / 385.3 MB, free: 11.04 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 (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.001121/0.009966, allocations: 490.2 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.01009, allocations: 55.62 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01009, allocations: 0 / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/0.01012, allocations: 23.62 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.01033, allocations: 34.53 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.01068, allocations: 196.8 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.01072, allocations: 63.34 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.405e-05/0.01077, allocations: 24.7 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.01082, allocations: 20.5 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01082, allocations: 0 / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Templates: time 0.003834/0.01465, allocations: 2.002 MB / 388.2 MB, free: 8.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 3.325876160990447]