Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001075/0.001075, 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.001256/0.001256, allocations: 165.4 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 0.9977/0.9977, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.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.2699/0.2699, allocations: 32.8 MB / 294.3 MB, free: 1.227 MB / 266.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.077e-05, allocations: 9.484 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002637/0.002668, allocations: 1.719 MB / 377.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003884, allocations: 0.9897 MB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.003964, allocations: 0 / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.004287, allocations: 63.73 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.004635, allocations: 115.5 kB / 379 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.004835, allocations: 75.66 kB / 379.1 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.005011, allocations: 115.5 kB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.005051, allocations: 8.234 kB / 379.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.323e-05/0.005144, allocations: 51.83 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-05/0.005239, allocations: 43.89 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.005256, allocations: 4 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.005339, allocations: 35.92 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.00539, allocations: 19.92 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.005428, allocations: 15.92 kB / 379.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.005595, allocations: 91.67 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005598, allocations: 0 / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005599, allocations: 0 / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.005604, allocations: 0 / 379.4 MB, free: 1.23 MB / 346.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.0004775/0.006082, allocations: 447.8 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.006122, allocations: 8.031 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.006174, allocations: 16.84 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.006355, allocations: 149.1 kB / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.006374, allocations: 384 / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.006385, allocations: 4.375 kB / 380.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.006526, allocations: 66.88 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.006536, allocations: 3.938 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.006545, allocations: 0 / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.006552, allocations: 0 / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.006586, allocations: 11.98 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.006737, allocations: 136.7 kB / 380.3 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.006843, allocations: 47.11 kB / 380.3 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.006872, allocations: 15.69 kB / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.006885, allocations: 7.938 kB / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.006985, allocations: 65.05 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.006987, allocations: 4 kB / 380.4 MB, free: 136 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001923/0.00718, allocations: 85.52 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.007226, allocations: 51.41 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.007357, allocations: 242.3 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.00737, allocations: 25.7 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.007422, allocations: 146.9 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.007456, allocations: 23.81 kB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.007488, allocations: 23.38 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.007605, allocations: 0.4962 MB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.007628, allocations: 8 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.007657, allocations: 31.36 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.02e-05/0.007708, allocations: 35.38 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.007711, allocations: 0 / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.936e-05/0.0078, allocations: 69.58 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.007814, allocations: 11.94 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.007821, allocations: 8.234 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.007836, allocations: 0 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.007906, allocations: 8 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.007913, allocations: 12.03 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.007942, allocations: 3.953 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.00795, allocations: 11.94 kB / 381.7 MB, free: 14.77 MB / 362.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 9.122e-05/0.008041, allocations: 160.6 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.008061, allocations: 11.94 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.008241, allocations: 86.77 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.008244, allocations: 0 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.008249, allocations: 0 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.008254, allocations: 0 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.008385, allocations: 140.6 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008387, allocations: 4 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.008423, allocations: 8 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.00843, allocations: 4 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.008441, allocations: 7.922 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.008444, allocations: 3.938 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008446, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.008566, allocations: 112.3 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.008584, allocations: 15.94 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.008603, allocations: 0 / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.579e-05/0.008628, allocations: 3.938 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.00866, allocations: 4 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.008674, allocations: 11.98 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.41e-05/0.008748, allocations: 168.2 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008748, allocations: 0 / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.008904, allocations: 15.94 kB / 382.4 MB, free: 13.95 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: 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.0008693/0.009773, allocations: 388.8 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.009908, allocations: 47.59 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.00991, allocations: 0 / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.009946, allocations: 27.61 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.01016, allocations: 27.97 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.01057, allocations: 194.1 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.01061, allocations: 67.39 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.907e-05/0.01065, allocations: 16.48 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.01068, allocations: 16.48 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01068, allocations: 0 / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of Templates: time 0.003704/0.01439, allocations: 1.76 MB / 385 MB, free: 11.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.1075532021932304]