Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002455, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008558/0.0008558, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002168, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9104/0.9104, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1671/1.078, allocations: 52.48 MB / 238.5 MB, free: 7.648 MB / 234.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.1509/0.1509, allocations: 32.8 MB / 272 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01958/0.1705, allocations: 12.54 MB / 284.5 MB, free: 9.734 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.555e-05, allocations: 4.984 kB / 286 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002028/0.002044, allocations: 1.811 MB / 287.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.003078, allocations: 0.8805 MB / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.003142, allocations: 0 / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.003321, allocations: 51.62 kB / 288.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.003472, allocations: 59.69 kB / 288.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.00368, allocations: 115.4 kB / 288.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.003853, allocations: 127.6 kB / 289 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.928e-05/0.003932, allocations: 11.98 kB / 289 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.004044, allocations: 79.81 kB / 289.1 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.072e-05/0.004134, allocations: 43.91 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.004154, allocations: 8 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.004242, allocations: 55.86 kB / 289.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.004289, allocations: 31.86 kB / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.004319, allocations: 19.94 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.004485, allocations: 123.5 kB / 289.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.004496, allocations: 0 / 289.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004497, allocations: 0 / 289.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.004506, allocations: 0 / 289.4 MB, free: 4.906 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004225/0.004928, allocations: 343.8 kB / 289.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.004959, allocations: 12.02 kB / 289.7 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.00499, allocations: 12.94 kB / 289.7 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.005136, allocations: 156.1 kB / 289.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.005152, allocations: 8.312 kB / 289.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.005172, allocations: 4.375 kB / 289.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.005275, allocations: 73.75 kB / 290 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.005285, allocations: 7.891 kB / 290 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.005292, allocations: 0 / 290 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005298, allocations: 4 kB / 290 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.857e-05/0.005337, allocations: 19.97 kB / 290 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.005586, allocations: 185.9 kB / 290.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.00579, allocations: 113.3 kB / 290.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.005818, allocations: 16.84 kB / 290.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.005834, allocations: 4 kB / 290.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.005952, allocations: 78.31 kB / 290.4 MB, free: 3.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.005953, allocations: 0 / 290.4 MB, free: 3.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005547/0.006507, allocations: 205.9 kB / 290.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.006546, allocations: 55.34 kB / 290.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.006662, allocations: 177 kB / 290.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.006681, allocations: 33.7 kB / 290.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.006717, allocations: 92.31 kB / 290.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.006765, allocations: 43.67 kB / 291 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.006803, allocations: 33.69 kB / 291 MB, free: 3.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.006899, allocations: 326.8 kB / 291.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.006923, allocations: 18.81 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.943e-05/0.006952, allocations: 29.64 kB / 291.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.646e-05/0.007008, allocations: 63.27 kB / 291.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.00701, allocations: 0 / 291.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.249e-05/0.007092, allocations: 92.44 kB / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.007103, allocations: 7.984 kB / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.007107, allocations: 0 / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.007119, allocations: 4 kB / 291.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.007184, allocations: 27.92 kB / 291.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.007188, allocations: 4 kB / 291.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.00721, allocations: 0 / 291.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.007218, allocations: 11.98 kB / 291.6 MB, free: 2.504 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 (15): * Single equations (assignments): 15 * 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 5.874e-05/0.007277, allocations: 123.4 kB / 291.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.00729, allocations: 12.02 kB / 291.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.007413, allocations: 111 kB / 291.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.007416, allocations: 4 kB / 291.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.007418, allocations: 3.984 kB / 291.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.007423, allocations: 3.984 kB / 291.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.007677, allocations: 351.6 kB / 292.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007679, allocations: 0 / 292.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.007733, allocations: 27.92 kB / 292.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.007749, allocations: 23.83 kB / 292.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.007753, allocations: 8.047 kB / 292.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.007761, allocations: 11.94 kB / 292.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.007763, allocations: 4 kB / 292.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007764, allocations: 0 / 292.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.007879, allocations: 235.9 kB / 292.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.007896, allocations: 4 kB / 292.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.007938, allocations: 11.98 kB / 292.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.007967, allocations: 11.92 kB / 292.5 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.007981, allocations: 7.938 kB / 292.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.934e-05/0.00802, allocations: 52.34 kB / 292.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00802, allocations: 0 / 292.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.008168, allocations: 39.92 kB / 292.6 MB, free: 1.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001468/0.009635, allocations: 0.716 MB / 293.3 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.009756, allocations: 76.44 kB / 293.4 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.009762, allocations: 0 / 293.4 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.446e-05/0.009817, allocations: 48.84 kB / 293.4 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.01005, allocations: 180.8 kB / 293.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.0105, allocations: 276.3 kB / 293.9 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.01054, allocations: 71.83 kB / 294 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.01059, allocations: 25.47 kB / 294 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.01067, allocations: 79.3 kB / 294.1 MB, free: 236 kB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01068, allocations: 4 kB / 294.1 MB, free: 232 kB / 282.7 MB Notification: Performance of Templates: time 0.003612/0.01429, allocations: 2.584 MB / 296.6 MB, free: 13.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.975419858470559]