Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.0009961/0.0009961, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009055/0.0009055, allocations: 165 kB / 24.56 MB, free: 12 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 0.9219/0.9219, allocations: 177.1 MB / 205 MB, free: 5.629 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.2518/0.2518, allocations: 32.8 MB / 294.3 MB, free: 1.27 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.026e-05, allocations: 2.312 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.004842/0.004862, allocations: 1.728 MB / 377.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009565/0.005819, allocations: 0.5452 MB / 378.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.005872, allocations: 4 kB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.006125, allocations: 55.78 kB / 378.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.006447, allocations: 99.52 kB / 378.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.007803, allocations: 135.5 kB / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.007951, allocations: 83.75 kB / 378.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.008037, allocations: 16.22 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.008106, allocations: 51.83 kB / 378.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.008193, allocations: 47.88 kB / 378.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.008208, allocations: 4 kB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.008296, allocations: 47.92 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.008357, allocations: 23.91 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.008383, allocations: 19.92 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.00854, allocations: 95.59 kB / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.008542, allocations: 0 / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.008543, allocations: 0 / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.008546, allocations: 7.938 kB / 379 MB, free: 1.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004085/0.008955, allocations: 443.9 kB / 379.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.00899, allocations: 8.031 kB / 379.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.009037, allocations: 16.88 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.009177, allocations: 140.4 kB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.009187, allocations: 384 / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.009209, allocations: 12.33 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.00933, allocations: 70.88 kB / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.00934, allocations: 192 / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.00935, allocations: 4.125 kB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.009358, allocations: 4 kB / 379.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.981e-05/0.009397, allocations: 11.98 kB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.009698, allocations: 295.7 kB / 380 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.009866, allocations: 54.97 kB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.009893, allocations: 19.8 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.009909, allocations: 4 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.009931, allocations: 37.39 kB / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.009932, allocations: 0 / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006336/0.01057, allocations: 257.5 kB / 380.3 MB, free: 176 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.0106, allocations: 51.41 kB / 380.4 MB, free: 112 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.01075, allocations: 222.5 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.01076, allocations: 29.7 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.01081, allocations: 150.9 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.01085, allocations: 43.61 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.01089, allocations: 27.38 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.011, allocations: 0.504 MB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.212e-05/0.01103, allocations: 15.98 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.01106, allocations: 12 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.357e-05/0.01113, allocations: 55.61 kB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.01114, allocations: 0 / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001215/0.01126, allocations: 89.86 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.01127, allocations: 4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.01127, allocations: 4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01129, allocations: 3.984 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.01136, allocations: 19.98 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01136, allocations: 4 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.01139, allocations: 12 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.0114, allocations: 0 / 381.6 MB, free: 14.87 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 (11): * Single equations (assignments): 11 * 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.041e-05/0.01147, allocations: 168.5 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.01151, allocations: 15.91 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.01168, allocations: 114.4 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01168, allocations: 3.984 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01169, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01169, allocations: 4 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.01205, allocations: 408.6 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01205, allocations: 4 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.01211, allocations: 19.98 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.01211, allocations: 4 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.01212, allocations: 7.922 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01213, allocations: 3.938 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01213, allocations: 4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.01229, allocations: 259.1 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.0123, allocations: 15.91 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.01232, allocations: 0 / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.01238, allocations: 12 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.01242, allocations: 16.11 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.01243, allocations: 8 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.091e-05/0.01251, allocations: 163.2 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01251, allocations: 0 / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.01276, allocations: 27.92 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001012/0.01377, allocations: 427.3 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.01391, allocations: 55.59 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01391, allocations: 8 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.01396, allocations: 39.61 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01424, allocations: 19.22 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.01465, allocations: 268.6 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.0147, allocations: 71.28 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.882e-05/0.01475, allocations: 20.59 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.01478, allocations: 16.5 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01479, allocations: 0 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of Templates: time 0.003831/0.01862, allocations: 1.703 MB / 385.4 MB, free: 11.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.962034302763641]