Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.0007765/0.0007765, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002156, 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.0007031/0.0007031, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009212/0.001624, 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.078/1.078, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1172/1.195, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2704/0.2704, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.028/0.2984, allocations: 12.53 MB / 289.3 MB, free: 8.688 MB / 282.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.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 290.7 MB, free: 7.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.249e-05, allocations: 3.688 kB / 290.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002508/0.00253, allocations: 1.765 MB / 292.4 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.00375, allocations: 0.998 MB / 293.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.003821, allocations: 2.188 kB / 293.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.004018, allocations: 48.84 kB / 293.5 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.004257, allocations: 117.8 kB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.004404, allocations: 67.19 kB / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.004578, allocations: 111.6 kB / 293.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.004624, allocations: 12.16 kB / 293.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.004754, allocations: 71.89 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.628e-05/0.00485, allocations: 35.89 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.004865, allocations: 7.938 kB / 293.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.069e-05/0.004936, allocations: 35.92 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.004976, allocations: 15.92 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.00501, allocations: 15.94 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.005162, allocations: 79.62 kB / 294.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.801e-05/0.00518, allocations: 8 kB / 294.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005181, allocations: 0 / 294.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.005198, allocations: 0 / 294.1 MB, free: 4.84 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000471/0.005669, allocations: 324.6 kB / 294.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.0057, allocations: 8.031 kB / 294.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.00573, allocations: 4.938 kB / 294.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.005883, allocations: 146.2 kB / 294.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.005898, allocations: 384 / 294.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.005908, allocations: 8.359 kB / 294.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.006022, allocations: 57.72 kB / 294.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.00603, allocations: 7.938 kB / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.006038, allocations: 3.984 kB / 294.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.006044, allocations: 4 kB / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.006067, allocations: 7.938 kB / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.836e-05/0.006156, allocations: 66.69 kB / 294.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.006236, allocations: 41.42 kB / 294.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.006257, allocations: 12.86 kB / 294.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.006269, allocations: 0 / 294.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.895e-05/0.006368, allocations: 70.16 kB / 294.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.006368, allocations: 0 / 294.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001194/0.006488, allocations: 53.67 kB / 294.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.006521, allocations: 55.34 kB / 294.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.006616, allocations: 169 kB / 295.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.00663, allocations: 29.7 kB / 295.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.006661, allocations: 88.88 kB / 295.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.006691, allocations: 23.81 kB / 295.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.00672, allocations: 17.72 kB / 295.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.006799, allocations: 322.8 kB / 295.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.006812, allocations: 14.83 kB / 295.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.006834, allocations: 21.7 kB / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.006869, allocations: 31.61 kB / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006871, allocations: 0 / 295.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.038e-05/0.006931, allocations: 60.45 kB / 295.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.006947, allocations: 8 kB / 295.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.006951, allocations: 0 / 295.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.00696, allocations: 0 / 295.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.007031, allocations: 19.92 kB / 295.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.007034, allocations: 4.031 kB / 295.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.007065, allocations: 7.938 kB / 295.7 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.00707, allocations: 4 kB / 295.7 MB, free: 3 MB / 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 (7): * Single equations (assignments): 7 * 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.007e-05/0.00715, allocations: 120.6 kB / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.007159, allocations: 4 kB / 295.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.832e-05/0.007258, allocations: 62.83 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00726, allocations: 0 / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.007263, allocations: 7.938 kB / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007266, allocations: 0 / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.908e-05/0.007345, allocations: 85.81 kB / 296 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.007346, allocations: 4 kB / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.007368, allocations: 7.984 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.00738, allocations: 11.89 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.007383, allocations: 3.984 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.007388, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.007389, allocations: 4 kB / 296 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.007391, allocations: 7.875 kB / 296 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.781e-05/0.007459, allocations: 82.77 kB / 296.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.007472, allocations: 0 / 296.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/0.00749, allocations: 4.188 kB / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.007512, allocations: 3.984 kB / 296.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.007524, allocations: 16 kB / 296.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.007561, allocations: 48.28 kB / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007561, allocations: 0 / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.007671, allocations: 19.94 kB / 296.2 MB, free: 2.457 MB / 282.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: 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 (6): * Single equations (assignments): 4 * 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.00133/0.009002, allocations: 0.5442 MB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.169e-05/0.009093, allocations: 28.78 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.009102, allocations: 8 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.009128, allocations: 20.91 kB / 296.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.009267, allocations: 47.14 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.009709, allocations: 186.8 kB / 297 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.152e-05/0.00975, allocations: 63.34 kB / 297.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.073e-05/0.009781, allocations: 12.48 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.009844, allocations: 67.36 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009845, allocations: 0 / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of Templates: time 0.003523/0.01337, allocations: 1.802 MB / 299 MB, free: 15.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.026338553056121]