Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001722/0.001722, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3479/0.3479, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.758e-05, allocations: 2.312 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003255/0.003283, allocations: 1.647 MB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004647, allocations: 0.5369 MB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.004695, allocations: 0 / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006615/0.005356, allocations: 455 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.0059, allocations: 283.4 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.006254, allocations: 139.5 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.006525, allocations: 171.5 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.006606, allocations: 12 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.006789, allocations: 119.8 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.007099, allocations: 243.6 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.007121, allocations: 4 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.361e-05/0.007214, allocations: 31.97 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.007336, allocations: 83.72 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.007404, allocations: 35.75 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.007768, allocations: 243 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.007771, allocations: 0 / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.007772, allocations: 0 / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.007778, allocations: 0 / 381.2 MB, free: 14.9 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.0008376/0.008615, allocations: 0.5737 MB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.008649, allocations: 8.031 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.313e-05/0.008742, allocations: 52.64 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.009055, allocations: 242 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.009077, allocations: 12.31 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.009102, allocations: 384 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.009255, allocations: 54.23 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.009266, allocations: 192 / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.009275, allocations: 384 / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.009279, allocations: 4.375 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.009383, allocations: 27.92 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.009896, allocations: 328.4 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.01013, allocations: 42.56 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.01019, allocations: 16.94 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.01022, allocations: 4 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.01026, allocations: 34.5 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.01026, allocations: 0 / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006981/0.01096, allocations: 232.6 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.01101, allocations: 59.41 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.01204, allocations: 0.8574 MB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.01206, allocations: 25.7 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.01227, allocations: 220 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.0123, allocations: 15.84 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.01234, allocations: 17.72 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.01255, allocations: 358.8 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.01263, allocations: 23.92 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.359e-05/0.0127, allocations: 19.98 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.01283, allocations: 48.84 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.01283, allocations: 0 / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002389/0.01307, allocations: 121.3 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.01309, allocations: 4 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01309, allocations: 3.938 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.01311, allocations: 0 / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01322, allocations: 19.92 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01322, allocations: 0 / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.337e-05/0.0133, allocations: 8 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01331, allocations: 4 kB / 384.6 MB, free: 11.32 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 0.0002291/0.01354, allocations: 209.8 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.01361, allocations: 47.66 kB / 384.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.01392, allocations: 137.5 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01392, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01393, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01393, allocations: 3.984 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.01452, allocations: 406 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01452, allocations: 0 / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.176e-05/0.01459, allocations: 15.98 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.01459, allocations: 4 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.0146, allocations: 0 / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.0146, allocations: 0 / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.0146, allocations: 3.984 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.01491, allocations: 223.1 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.01497, allocations: 36 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.01499, allocations: 0 / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.01508, allocations: 4 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.01512, allocations: 7.969 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.01513, allocations: 4 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.01613, allocations: 0.6511 MB / 386.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01613, allocations: 0 / 386.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.01642, allocations: 19.98 kB / 386.4 MB, free: 9.5 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.001987/0.01841, allocations: 437 kB / 386.8 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.01863, allocations: 43.97 kB / 386.8 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01864, allocations: 3.938 kB / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.01872, allocations: 23.98 kB / 386.8 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.01921, allocations: 25.89 kB / 386.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.02071, allocations: 0.8071 MB / 387.7 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.02101, allocations: 228 kB / 387.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.02106, allocations: 8 kB / 387.9 MB, free: 8.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.0211, allocations: 12.5 kB / 387.9 MB, free: 8.023 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0211, allocations: 0 / 387.9 MB, free: 8.023 MB / 362.7 MB Notification: Performance of Templates: time 0.005537/0.02664, allocations: 1.353 MB / 389.3 MB, free: 6.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.835794470040128]