Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.0009896/0.0009896, 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.001665/0.001665, 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.9185/0.9185, 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.2331/0.2331, allocations: 32.81 MB / 294.3 MB, free: 1.258 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.015e-05, allocations: 6.25 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.005991/0.006011, allocations: 1.641 MB / 377.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009416/0.006953, allocations: 0.5453 MB / 378.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.007002, allocations: 0 / 378.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.007201, allocations: 23.86 kB / 378.3 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.007472, allocations: 83.55 kB / 378.3 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.007748, allocations: 111.6 kB / 378.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.007901, allocations: 67.78 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.007987, allocations: 7.984 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.008056, allocations: 35.91 kB / 378.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.00812, allocations: 19.92 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.008135, allocations: 0 / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.008206, allocations: 31.98 kB / 378.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.008254, allocations: 11.94 kB / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.008286, allocations: 19.91 kB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.008443, allocations: 71.69 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.008446, allocations: 0 / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008446, allocations: 0 / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.00845, allocations: 0 / 378.7 MB, free: 1.949 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.0004295/0.00888, allocations: 424 kB / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.008918, allocations: 8.031 kB / 379.1 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.008965, allocations: 8.891 kB / 379.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.009126, allocations: 140.4 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.009139, allocations: 8.375 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.009159, allocations: 384 / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.009281, allocations: 54.89 kB / 379.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.009291, allocations: 192 / 379.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.009302, allocations: 8.125 kB / 379.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.009312, allocations: 3.984 kB / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.00935, allocations: 8 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.009675, allocations: 275.8 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.009856, allocations: 42.98 kB / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.009887, allocations: 15.69 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.009905, allocations: 3.938 kB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.009929, allocations: 33.39 kB / 379.7 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.009931, allocations: 0 / 379.7 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003958/0.01033, allocations: 109.7 kB / 379.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.01036, allocations: 51.41 kB / 379.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.0105, allocations: 201.9 kB / 380.1 MB, free: 424 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.01051, allocations: 33.7 kB / 380.1 MB, free: 384 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.01057, allocations: 142.8 kB / 380.2 MB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.0106, allocations: 15.89 kB / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.01064, allocations: 23.38 kB / 380.3 MB, free: 188 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.01078, allocations: 0.4961 MB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.0108, allocations: 4 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.01082, allocations: 4 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.01087, allocations: 31.62 kB / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01088, allocations: 192 / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001211/0.011, allocations: 65.69 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01101, allocations: 4 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01101, allocations: 7.984 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.01102, allocations: 0 / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.957e-05/0.01107, allocations: 19.92 kB / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.01108, allocations: 0 / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.01109, allocations: 0 / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.0111, allocations: 4 kB / 380.9 MB, free: 15.53 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 5.435e-05/0.01116, allocations: 160.5 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.01118, allocations: 11.94 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.01128, allocations: 70.09 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01128, allocations: 0 / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01128, allocations: 4 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01129, allocations: 3.984 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.01148, allocations: 325.3 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.01148, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.01151, allocations: 11.98 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01151, allocations: 4 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.01152, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01152, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01152, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.041e-05/0.01161, allocations: 207.8 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.01162, allocations: 12.2 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.01163, allocations: 0 / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.01166, allocations: 11.98 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.01168, allocations: 0 / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.01169, allocations: 8 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.947e-05/0.01175, allocations: 162 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01175, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000151/0.0119, allocations: 15.94 kB / 381.9 MB, free: 14.46 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.0006943/0.01259, allocations: 369.7 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.458e-05/0.01267, allocations: 31.67 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.91e-07/0.01267, allocations: 0 / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/0.01269, allocations: 19.62 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.01287, allocations: 30.17 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.01313, allocations: 190.5 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.01316, allocations: 63.34 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.988e-05/0.01319, allocations: 15.97 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.01321, allocations: 12.5 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01321, allocations: 0 / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of Templates: time 0.002556/0.01577, allocations: 1.259 MB / 383.9 MB, free: 12.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.91768307518214]