Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.001425/0.001425, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001833/0.001833, allocations: 165 kB / 24.99 MB, free: 8.758 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.252/0.252, allocations: 34.26 MB / 296 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.071e-05, allocations: 2.312 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.002325/0.002356, allocations: 1.712 MB / 379.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003662, allocations: 1.313 MB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.003719, allocations: 0 / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.003916, allocations: 23.78 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.004201, allocations: 87.55 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.004491, allocations: 179.4 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.004636, allocations: 79.77 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.004736, allocations: 19.97 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.004797, allocations: 35.92 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.004888, allocations: 31.89 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.004907, allocations: 11.94 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.005031, allocations: 95.88 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.005083, allocations: 15.92 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.005115, allocations: 19.92 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.005312, allocations: 147.4 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005315, allocations: 0 / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.005316, allocations: 0 / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005321, allocations: 0 / 381.8 MB, free: 15.18 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.0004088/0.00573, allocations: 432 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.005764, allocations: 8.031 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.005815, allocations: 12.89 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.00598, allocations: 140.4 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.005988, allocations: 8.375 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.00601, allocations: 4.375 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.006169, allocations: 112 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.006181, allocations: 192 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.006193, allocations: 4.125 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.006202, allocations: 4 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.006241, allocations: 7.984 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.006612, allocations: 299.6 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.006692, allocations: 43.05 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.00672, allocations: 15.62 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.006741, allocations: 4 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.006763, allocations: 33.39 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.006764, allocations: 3.984 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004006/0.007165, allocations: 137.5 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.007202, allocations: 81.11 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.007319, allocations: 196.2 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.007333, allocations: 25.7 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.007383, allocations: 142.9 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.007407, allocations: 31.75 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.007442, allocations: 31.36 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.007555, allocations: 496.1 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.00758, allocations: 15.92 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/0.007622, allocations: 57.06 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.634e-05/0.007668, allocations: 31.62 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00767, allocations: 4 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.875e-05/0.007759, allocations: 73.62 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.00777, allocations: 4 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.007774, allocations: 0 / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.007783, allocations: 4.031 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.007857, allocations: 23.92 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.007862, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.007889, allocations: 4 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.007895, allocations: 3.984 kB / 384.2 MB, free: 12.5 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 6.283e-05/0.007958, allocations: 164.5 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.00798, allocations: 7.953 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.008106, allocations: 74.45 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008109, allocations: 4 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.008112, allocations: 4 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.008115, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.008379, allocations: 345.3 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.00838, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.008425, allocations: 19.92 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.008428, allocations: 0 / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.008442, allocations: 8 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.008444, allocations: 480 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008445, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.008581, allocations: 227.7 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.008592, allocations: 7.953 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.008604, allocations: 4 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.008646, allocations: 8 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.008677, allocations: 7.984 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.008681, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.37e-05/0.008745, allocations: 147.2 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008745, allocations: 0 / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001941/0.008939, allocations: 47.86 kB / 385.3 MB, free: 11.36 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.001043/0.009982, allocations: 480.8 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.0101, allocations: 51.53 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.0101, allocations: 0 / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.069e-05/0.01013, allocations: 27.67 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.01034, allocations: 35.09 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.0107, allocations: 204.8 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.01073, allocations: 67.34 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.708e-05/0.01079, allocations: 24.69 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.01083, allocations: 16.5 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01083, allocations: 0 / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of Templates: time 0.003545/0.01438, allocations: 2.009 MB / 388.2 MB, free: 8.598 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.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.4012583908624947]