Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001018/0.001018, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001178/0.001178, allocations: 161 kB / 24.56 MB, free: 16 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.041/1.041, allocations: 177.1 MB / 205 MB, free: 5.594 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.2654/0.2654, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.053e-05, allocations: 6.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002341/0.002372, allocations: 1.681 MB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.003194, allocations: 0.5609 MB / 380.3 MB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.003257, allocations: 3.938 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.003534, allocations: 95.67 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.003812, allocations: 107.5 kB / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.00409, allocations: 123.6 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.004261, allocations: 103.7 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.00437, allocations: 27.97 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.004446, allocations: 55.88 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.004539, allocations: 59.86 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.004555, allocations: 4 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.004641, allocations: 51.86 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.00469, allocations: 27.84 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.004724, allocations: 19.94 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.004896, allocations: 107.6 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.004901, allocations: 8 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.004902, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.004908, allocations: 0 / 381.1 MB, free: 15.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004256/0.005333, allocations: 467.7 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.005368, allocations: 12.03 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.005414, allocations: 16.84 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.005554, allocations: 160.3 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.005564, allocations: 4.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.005591, allocations: 8.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.005719, allocations: 66.94 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.005728, allocations: 4.188 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.00574, allocations: 12.06 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.005747, allocations: 0 / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.535e-05/0.005792, allocations: 27.97 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.006144, allocations: 335.5 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/0.006228, allocations: 58.98 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.006263, allocations: 19.67 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.006285, allocations: 0 / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.006308, allocations: 37.39 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.006309, allocations: 0 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006634/0.006972, allocations: 249.5 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.007008, allocations: 51.41 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.00718, allocations: 250.7 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.007197, allocations: 29.7 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.007283, allocations: 162.8 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.007327, allocations: 47.78 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.007374, allocations: 35.38 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.007527, allocations: 0.5039 MB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.007566, allocations: 20 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.0076, allocations: 24.11 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/0.007685, allocations: 55.3 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.007686, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001467/0.007833, allocations: 101.5 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.007852, allocations: 9.969 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.007858, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.007879, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.007989, allocations: 23.98 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.007996, allocations: 3.984 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.008023, allocations: 15.94 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.008032, allocations: 0 / 383.9 MB, free: 12.61 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 (13): * Single equations (assignments): 13 * 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 8.868e-05/0.00812, allocations: 164.5 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.008152, allocations: 15.91 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.008381, allocations: 127.1 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.008385, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.008391, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.008396, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.008839, allocations: 436.9 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.008842, allocations: 4.031 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/0.00891, allocations: 27.92 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.008914, allocations: 0 / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.008926, allocations: 11.94 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.008929, allocations: 3.938 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.00893, allocations: 0 / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.009103, allocations: 263.5 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.009117, allocations: 19.89 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.00914, allocations: 7.938 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.00918, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.009216, allocations: 15.98 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.009223, allocations: 4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.957e-05/0.009312, allocations: 185 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009312, allocations: 0 / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.0095, allocations: 27.94 kB / 385.1 MB, free: 11.24 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 (13): * Single equations (assignments): 13 * 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.0009231/0.01042, allocations: 429.3 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.01057, allocations: 63.59 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01057, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.01062, allocations: 55.17 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.01086, allocations: 23.98 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.01128, allocations: 288.6 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.01133, allocations: 71.33 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.415e-05/0.01138, allocations: 24.47 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.01142, allocations: 24.55 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01142, allocations: 4 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003492/0.01491, allocations: 1.618 MB / 387.7 MB, free: 8.777 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.2165843388065696]