Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.00097/0.00097, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002311, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008224/0.0008224, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001906, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/1.107, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3043/0.3043, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02738/0.3317, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.326e-05, allocations: 3.188 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002696/0.00272, allocations: 1.812 MB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005574/0.008294, allocations: 1.021 MB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.008387, allocations: 0 / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.008608, allocations: 59.69 kB / 295.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.008882, allocations: 95.48 kB / 295.7 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.009108, allocations: 79.59 kB / 295.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.009321, allocations: 107.7 kB / 295.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.684e-05/0.009408, allocations: 8 kB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.009551, allocations: 87.75 kB / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.009632, allocations: 23.91 kB / 296 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.00965, allocations: 7.938 kB / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.009754, allocations: 43.92 kB / 296 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.009804, allocations: 27.92 kB / 296.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.009842, allocations: 15.94 kB / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.01003, allocations: 115.5 kB / 296.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.682e-05/0.01005, allocations: 0 / 296.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01005, allocations: 0 / 296.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.01006, allocations: 4 kB / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003508/0.01357, allocations: 364.8 kB / 296.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.01361, allocations: 16.03 kB / 296.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.01365, allocations: 4.938 kB / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.01393, allocations: 166.4 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.01395, allocations: 384 / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.01397, allocations: 4.375 kB / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.0141, allocations: 65.7 kB / 296.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01411, allocations: 3.938 kB / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.01412, allocations: 0 / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.01412, allocations: 4 kB / 296.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.01415, allocations: 7.984 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.01443, allocations: 170 kB / 297 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.01453, allocations: 85.28 kB / 297.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.01456, allocations: 16.84 kB / 297.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.01457, allocations: 7.938 kB / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.01469, allocations: 66.16 kB / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.01469, allocations: 0 / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003289/0.01502, allocations: 113.5 kB / 297.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.01505, allocations: 51.41 kB / 297.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.01521, allocations: 217.2 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.01522, allocations: 29.7 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.01526, allocations: 96.09 kB / 297.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.01529, allocations: 23.84 kB / 297.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.01533, allocations: 25.7 kB / 297.7 MB, free: 1.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.01542, allocations: 326.8 kB / 298 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.01544, allocations: 10.83 kB / 298 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.052e-05/0.01547, allocations: 25.69 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.01552, allocations: 40.47 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.01553, allocations: 0 / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001014/0.01563, allocations: 88.42 kB / 298.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01564, allocations: 4 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.01565, allocations: 11.92 kB / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.01566, allocations: 0 / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.01573, allocations: 12 kB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.01574, allocations: 4 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.707e-05/0.01578, allocations: 7.969 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.01578, allocations: 4 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.524e-05/0.01586, allocations: 124.5 kB / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.01587, allocations: 15.95 kB / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/0.01914, allocations: 75.14 kB / 298.4 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01914, allocations: 0 / 298.4 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01914, allocations: 0 / 298.4 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01915, allocations: 3.984 kB / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.01945, allocations: 303.4 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01945, allocations: 0 / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.01949, allocations: 15.92 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.01951, allocations: 15.91 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.01951, allocations: 0 / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.01952, allocations: 4.406 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01952, allocations: 4 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01952, allocations: 0 / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.01966, allocations: 227 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.01968, allocations: 4 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.01974, allocations: 0 / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.01977, allocations: 7.984 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.01979, allocations: 8 kB / 299 MB, free: 15.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.399e-05/0.01986, allocations: 71.75 kB / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01986, allocations: 0 / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.02008, allocations: 31.98 kB / 299.1 MB, free: 15.53 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001776/0.02185, allocations: 0.6201 MB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.02197, allocations: 56.64 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.02198, allocations: 4 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00305/0.02503, allocations: 28.92 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.02527, allocations: 49.58 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.0258, allocations: 272.2 kB / 300.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.878e-05/0.02585, allocations: 71.33 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.02589, allocations: 13.09 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.02596, allocations: 67.38 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02596, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Templates: time 0.007513/0.03348, allocations: 2.064 MB / 302.4 MB, free: 12.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.9543592799454927]