Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001204/0.001204, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.007317/0.007317, allocations: 167.7 kB / 24.99 MB, free: 8.797 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.652 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.2715/0.2715, allocations: 32.81 MB / 294.6 MB, free: 1.219 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.623e-05, allocations: 10.25 kB / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003146/0.003172, allocations: 1.7 MB / 377.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.004938, allocations: 1.309 MB / 379 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.004998, allocations: 0 / 379 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.005161, allocations: 23.84 kB / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.005464, allocations: 87.55 kB / 379.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.005898, allocations: 179.4 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.00604, allocations: 79.7 kB / 379.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.95e-05/0.006119, allocations: 15.97 kB / 379.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.006185, allocations: 39.91 kB / 379.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.433e-05/0.006279, allocations: 27.91 kB / 379.5 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.006296, allocations: 8 kB / 379.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.006468, allocations: 91.88 kB / 379.6 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.006517, allocations: 19.92 kB / 379.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.006551, allocations: 27.91 kB / 379.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.006801, allocations: 143.5 kB / 379.8 MB, free: 1.195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.006803, allocations: 0 / 379.8 MB, free: 1.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.006804, allocations: 0 / 379.8 MB, free: 1.195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.006808, allocations: 0 / 379.8 MB, free: 1.195 MB / 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.0004067/0.007214, allocations: 428 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.007247, allocations: 8.031 kB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.007294, allocations: 16.89 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.007453, allocations: 144.4 kB / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.007463, allocations: 4.375 kB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.007479, allocations: 4.375 kB / 380.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.007631, allocations: 112 kB / 380.5 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.007639, allocations: 192 / 380.5 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.007651, allocations: 4.125 kB / 380.5 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.007659, allocations: 7.984 kB / 380.5 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/0.007705, allocations: 11.92 kB / 380.5 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.008037, allocations: 291.7 kB / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.215e-05/0.008109, allocations: 35.05 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.008156, allocations: 23.62 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.008173, allocations: 4 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.008198, allocations: 33.39 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.008199, allocations: 0 / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004179/0.008617, allocations: 137.5 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.008694, allocations: 85.05 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.008816, allocations: 195.8 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.00883, allocations: 29.7 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.008874, allocations: 138.9 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.008896, allocations: 27.73 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.008928, allocations: 31.38 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.009036, allocations: 0.4884 MB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.009058, allocations: 12 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.009099, allocations: 53.06 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.009147, allocations: 35.86 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.009148, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.85e-05/0.009236, allocations: 81.55 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.009246, allocations: 4 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.009248, allocations: 0 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.009255, allocations: 0 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.009326, allocations: 24.02 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.009329, allocations: 0 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.009358, allocations: 11.98 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.009362, allocations: 0 / 382.2 MB, free: 14.51 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.14e-05/0.009424, allocations: 164.5 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.009445, allocations: 7.953 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.009563, allocations: 78.39 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.009567, allocations: 4 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.00957, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.009574, allocations: 3.984 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.009829, allocations: 341.4 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.00983, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.009872, allocations: 19.92 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.009873, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.009879, allocations: 4 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.00988, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009881, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.01001, allocations: 227.8 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.01002, allocations: 7.953 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.01003, allocations: 0 / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.01007, allocations: 11.98 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.01009, allocations: 4 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.01009, allocations: 4 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.01016, allocations: 147.9 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01016, allocations: 4 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.01034, allocations: 39.86 kB / 383.2 MB, free: 13.38 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.0009673/0.0113, allocations: 0.4953 MB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.542e-05/0.01139, allocations: 43.66 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01139, allocations: 0 / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.01143, allocations: 23.62 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01166, allocations: 31.56 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.01216, allocations: 198.2 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.868e-05/0.01222, allocations: 67.34 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.447e-05/0.01231, allocations: 28.94 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.01235, allocations: 20.5 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.01235, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of Templates: time 0.004052/0.0164, allocations: 2.008 MB / 386.1 MB, free: 10.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3055552099831402]