Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001869/0.001869, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.00204/0.00204, allocations: 165.3 kB / 24.27 MB, free: 148 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 1.58/1.58, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3447/0.3447, allocations: 32.8 MB / 293.9 MB, free: 1.188 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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/2.998e-05, allocations: 6.25 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003233/0.003263, allocations: 1.63 MB / 376.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.004472, allocations: 0.5414 MB / 377.5 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.004525, allocations: 0 / 377.5 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.004852, allocations: 91.67 kB / 377.5 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.005205, allocations: 115.5 kB / 377.7 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.005536, allocations: 115.6 kB / 377.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.005726, allocations: 91.73 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.005818, allocations: 8 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.006175, allocations: 47.88 kB / 377.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.006284, allocations: 55.89 kB / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.006302, allocations: 0 / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.006414, allocations: 51.91 kB / 378 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.006474, allocations: 19.92 kB / 378 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.006509, allocations: 15.88 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.006732, allocations: 111.6 kB / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.006736, allocations: 0 / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006737, allocations: 0 / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.006743, allocations: 0 / 378.2 MB, free: 2.055 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.0006043/0.007347, allocations: 455.5 kB / 378.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.007381, allocations: 12.03 kB / 378.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.007434, allocations: 12.89 kB / 378.6 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.007653, allocations: 164.2 kB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.007665, allocations: 4.375 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.007683, allocations: 384 / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.007815, allocations: 46.25 kB / 378.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.007826, allocations: 192 / 378.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.007839, allocations: 12.06 kB / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.007845, allocations: 4 kB / 378.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.007942, allocations: 15.98 kB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.008416, allocations: 323.6 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.008535, allocations: 43.05 kB / 379.2 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.008589, allocations: 27.7 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.008615, allocations: 3.984 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.008651, allocations: 37.39 kB / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.008652, allocations: 0 / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008902/0.009542, allocations: 201.2 kB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.00959, allocations: 59.41 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.009864, allocations: 257.9 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.009887, allocations: 29.7 kB / 379.8 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.01001, allocations: 162.8 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.01005, allocations: 27.75 kB / 380 MB, free: 20 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.01012, allocations: 31.52 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002792/0.0104, allocations: 0.5079 MB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-05/0.01047, allocations: 16 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.01052, allocations: 15.98 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.01066, allocations: 63.8 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.01066, allocations: 0 / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002181/0.01088, allocations: 93.56 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.0109, allocations: 4 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.0109, allocations: 0 / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.01092, allocations: 4 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.01101, allocations: 15.98 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01102, allocations: 0 / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.01105, allocations: 0 / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.01106, allocations: 8 kB / 380.8 MB, free: 15.23 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 (8): * Single equations (assignments): 8 * 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.0001259/0.01119, allocations: 172.5 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.01123, allocations: 15.91 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.0115, allocations: 103 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01151, allocations: 8 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01151, allocations: 0 / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01151, allocations: 0 / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.01211, allocations: 420.9 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01211, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.01217, allocations: 16.03 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01218, allocations: 0 / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.01218, allocations: 4 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.01219, allocations: 3.984 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01219, allocations: 0 / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.01249, allocations: 259.4 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.01252, allocations: 15.91 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.01253, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.0126, allocations: 4 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.01265, allocations: 11.92 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.01266, allocations: 8 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.01282, allocations: 183.1 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01282, allocations: 0 / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.01306, allocations: 23.94 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.003232/0.01629, allocations: 0.4888 MB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.01651, allocations: 63.64 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01652, allocations: 0 / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.01662, allocations: 39.61 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.01694, allocations: 18.33 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.0175, allocations: 253.8 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.01762, allocations: 100.9 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.112e-05/0.01768, allocations: 12.72 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.01773, allocations: 20.5 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01773, allocations: 0 / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Templates: time 0.004803/0.02253, allocations: 1.425 MB / 384.4 MB, free: 11.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.869257722981274]