Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0009696/0.0009696, 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.0009885/0.0009885, 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.9187/0.9187, allocations: 177.1 MB / 205 MB, free: 5.605 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.2776/0.2776, allocations: 32.8 MB / 294.3 MB, free: 1.207 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.899e-05, allocations: 9.484 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002346/0.002364, allocations: 1.657 MB / 377.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.003076, allocations: 0.5453 MB / 378.2 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.003128, allocations: 3.938 kB / 378.2 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.003591, allocations: 459.1 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.00397, allocations: 299.1 kB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.004291, allocations: 167.6 kB / 379.1 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.004516, allocations: 175.6 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.004615, allocations: 4 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.004724, allocations: 115.8 kB / 379.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.004915, allocations: 243.6 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.004932, allocations: 0 / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.65e-05/0.004999, allocations: 27.94 kB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.005078, allocations: 87.7 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.005118, allocations: 35.73 kB / 379.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.005577, allocations: 187.2 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005579, allocations: 0 / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00558, allocations: 0 / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.005584, allocations: 0 / 380 MB, free: 0.6328 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005174/0.006101, allocations: 0.6928 MB / 380.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.006133, allocations: 8.031 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.006186, allocations: 44.66 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.00636, allocations: 240.9 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.006371, allocations: 8.312 kB / 381 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.006382, allocations: 8.375 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.006504, allocations: 54.94 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.006511, allocations: 192 / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.006521, allocations: 4.562 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.006529, allocations: 3.938 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.006553, allocations: 4 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.006926, allocations: 419.7 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.931e-05/0.006975, allocations: 31 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.006997, allocations: 15.69 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.007012, allocations: 4.062 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.007033, allocations: 41.33 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.007034, allocations: 0 / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001506/0.007184, allocations: 85.34 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.007218, allocations: 55.41 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.007593, allocations: 0.6277 MB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.007601, allocations: 25.7 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.007729, allocations: 290.7 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.007745, allocations: 7.953 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.007769, allocations: 23.5 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.007904, allocations: 0.5508 MB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.007915, allocations: 0 / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-06/0.007924, allocations: 4 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.00795, allocations: 15.69 kB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007952, allocations: 0 / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.257e-05/0.008024, allocations: 81.3 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.008038, allocations: 11.98 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.008042, allocations: 3.938 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.008055, allocations: 4.078 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.008114, allocations: 8 kB / 383.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.008118, allocations: 0 / 383.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.00814, allocations: 0 / 383.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.008147, allocations: 8 kB / 383.4 MB, free: 13.07 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 (2): * Single equations (assignments): 2 * 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.697e-05/0.008214, allocations: 152.6 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.008244, allocations: 47.66 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.813e-05/0.008342, allocations: 76.73 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.008344, allocations: 0 / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.008347, allocations: 0 / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.008351, allocations: 11.97 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.008546, allocations: 276.5 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008547, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.008567, allocations: 7.984 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.008569, allocations: 4 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.008575, allocations: 3.938 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008576, allocations: 0 / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008577, allocations: 0 / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.008677, allocations: 227.6 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.0087, allocations: 31.77 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.008716, allocations: 7.969 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.349e-05/0.00875, allocations: 4 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.008764, allocations: 0 / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.008766, allocations: 0 / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.009008, allocations: 426.8 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009008, allocations: 4 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.00917, allocations: 27.83 kB / 384.6 MB, free: 11.72 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 (2): * Single equations (assignments): 2 * 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.0006318/0.009802, allocations: 328.6 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.744e-05/0.009879, allocations: 19.69 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009881, allocations: 0 / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.009893, allocations: 19.61 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.01012, allocations: 25.95 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.01066, allocations: 0.5627 MB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.809e-05/0.01073, allocations: 119.2 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.978e-05/0.01076, allocations: 15.92 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.01079, allocations: 16.48 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01079, allocations: 4 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of Templates: time 0.003636/0.01442, allocations: 1.212 MB / 386.9 MB, free: 9.465 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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.8725994690321386]