Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001295/0.001295, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001357/0.001357, allocations: 161 kB / 24.56 MB, free: 8 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.07/1.07, allocations: 177.2 MB / 205 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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.2755/0.2755, allocations: 34.27 MB / 295.7 MB, free: 0.7461 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.047e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002368/0.002399, allocations: 1.642 MB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.003165, allocations: 0.5414 MB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.003225, allocations: 3.938 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.003449, allocations: 19.86 kB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.00374, allocations: 83.55 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.004015, allocations: 115.6 kB / 380.5 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.004153, allocations: 67.77 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.00425, allocations: 11.92 kB / 380.5 MB, free: 120 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.749e-05/0.004307, allocations: 31.91 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.004358, allocations: 15.98 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.004373, allocations: 4 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.011e-05/0.004443, allocations: 24 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.00449, allocations: 19.91 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.004519, allocations: 11.94 kB / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.004691, allocations: 71.75 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004693, allocations: 4 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004694, allocations: 0 / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.004699, allocations: 0 / 380.7 MB, free: 15.94 MB / 362.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.0003871/0.005086, allocations: 424 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.005122, allocations: 12.03 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.005164, allocations: 8.891 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.0053, allocations: 140.4 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.005309, allocations: 384 / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.005332, allocations: 384 / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.005454, allocations: 62.94 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.005464, allocations: 192 / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.005475, allocations: 4.125 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.005484, allocations: 4 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.005515, allocations: 15.92 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.005821, allocations: 271.8 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.005997, allocations: 35.06 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.006021, allocations: 15.77 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.006046, allocations: 7.938 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.006069, allocations: 41.33 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.00607, allocations: 4 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003463/0.006416, allocations: 97.42 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.006442, allocations: 51.41 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.006561, allocations: 212.9 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.006571, allocations: 25.7 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.006625, allocations: 146.8 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.006644, allocations: 15.89 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.006675, allocations: 27.38 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.006786, allocations: 0.4922 MB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.006806, allocations: 8.062 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.444e-05/0.00682, allocations: 11.98 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/0.00686, allocations: 23.69 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.006862, allocations: 0 / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.783e-05/0.00694, allocations: 69.53 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.006953, allocations: 7.938 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.006958, allocations: 0 / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.006974, allocations: 4 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.561e-05/0.00702, allocations: 8 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007024, allocations: 0 / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.007043, allocations: 3.984 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.007048, allocations: 4 kB / 382.9 MB, free: 13.51 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 6.578e-05/0.007113, allocations: 164.5 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.007135, allocations: 11.95 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.007256, allocations: 70.06 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.007259, allocations: 0 / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.007262, allocations: 0 / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.007266, allocations: 4 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.007574, allocations: 321.4 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.007577, allocations: 4.312 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.007629, allocations: 12 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.007632, allocations: 4 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.007641, allocations: 3.938 kB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.007644, allocations: 0 / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007645, allocations: 0 / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.007786, allocations: 215.8 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.007795, allocations: 3.953 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.00781, allocations: 4 kB / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.238e-05/0.007843, allocations: 0 / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.00788, allocations: 7.984 kB / 383.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.007884, allocations: 0 / 383.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.472e-05/0.007958, allocations: 155.1 kB / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007958, allocations: 4 kB / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.008135, allocations: 15.94 kB / 383.9 MB, free: 12.45 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.0009373/0.009073, allocations: 376.4 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.009173, allocations: 39.55 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009174, allocations: 0 / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.009197, allocations: 19.67 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.009421, allocations: 25.19 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.009769, allocations: 194.4 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.009814, allocations: 67.34 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.919e-05/0.009853, allocations: 11.98 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.00988, allocations: 16.5 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.009881, allocations: 0 / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003148/0.01303, allocations: 1.171 MB / 385.8 MB, free: 10.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 3.3003245750442147]