Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.002383/0.002383, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002905/0.002905, allocations: 165.3 kB / 24.28 MB, free: 152 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.632/1.632, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.5603/0.5603, allocations: 34.26 MB / 295.3 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.667e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003087/0.003114, allocations: 1.614 MB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.004263, allocations: 0.5143 MB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.004313, allocations: 7.875 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.004522, allocations: 27.78 kB / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.004803, allocations: 79.56 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.00507, allocations: 91.69 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.00524, allocations: 67.77 kB / 379.7 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.005337, allocations: 11.98 kB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.005409, allocations: 27.92 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.005472, allocations: 19.92 kB / 379.8 MB, free: 488 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.005494, allocations: 7.984 kB / 379.8 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.005573, allocations: 27.98 kB / 379.8 MB, free: 452 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.005626, allocations: 11.94 kB / 379.8 MB, free: 440 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.005657, allocations: 11.94 kB / 379.8 MB, free: 428 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.005837, allocations: 91.64 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005839, allocations: 0 / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00584, allocations: 0 / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.005844, allocations: 0 / 379.9 MB, free: 336 kB / 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.0008043/0.006648, allocations: 419.8 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.006684, allocations: 8.031 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.00673, allocations: 8.891 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.006919, allocations: 136.5 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.006935, allocations: 4.375 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.006953, allocations: 384 / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.007086, allocations: 42.25 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007097, allocations: 4.188 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.007114, allocations: 12.12 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.007119, allocations: 7.922 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.057e-05/0.0072, allocations: 15.92 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.007596, allocations: 283.8 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.007814, allocations: 51.05 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.007863, allocations: 15.77 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.007888, allocations: 11.88 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.00792, allocations: 33.39 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.058e-05/0.00793, allocations: 4 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005204/0.008451, allocations: 129.4 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.008503, allocations: 59.41 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.008706, allocations: 212.8 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.008734, allocations: 33.7 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.008832, allocations: 142.9 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.008858, allocations: 15.91 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.008918, allocations: 27.36 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002651/0.009184, allocations: 0.4922 MB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.009245, allocations: 19.98 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.009297, allocations: 19.98 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.009408, allocations: 43.86 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.009409, allocations: 0 / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001703/0.00958, allocations: 77.58 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.009593, allocations: 4 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.009597, allocations: 0 / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.009609, allocations: 4 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.009671, allocations: 15.98 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.009675, allocations: 0 / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.00971, allocations: 4 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.009716, allocations: 0 / 382.2 MB, free: 13.8 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 0.000139/0.009855, allocations: 164.5 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.009897, allocations: 15.89 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.01013, allocations: 86.06 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01013, allocations: 0 / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01013, allocations: 0 / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01014, allocations: 0 / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.01061, allocations: 357.4 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01061, allocations: 3.938 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.01066, allocations: 8 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01066, allocations: 3.938 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.01067, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01067, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.01067, allocations: 192 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.01095, allocations: 231.8 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.01097, allocations: 7.953 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.01099, allocations: 7.984 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.097e-05/0.01105, allocations: 4 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.01108, allocations: 0 / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01109, allocations: 4 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.01122, allocations: 163.1 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01122, allocations: 0 / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.01145, allocations: 19.94 kB / 383.3 MB, free: 12.67 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.002886/0.01434, allocations: 435.7 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.01454, allocations: 55.66 kB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01454, allocations: 0 / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.617e-05/0.01462, allocations: 35.61 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.01495, allocations: 15.19 kB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.01544, allocations: 206.4 kB / 384 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.256e-05/0.01553, allocations: 75.33 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.576e-05/0.01557, allocations: 15.98 kB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.01561, allocations: 12.5 kB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01561, allocations: 0 / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of Templates: time 0.004493/0.0201, allocations: 1.152 MB / 385.3 MB, free: 10.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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: 5.148615251062438]