Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.001469/0.001469, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001899/0.001899, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9332/0.9332, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1301/0.1301, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.57e-05, allocations: 9.344 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003083/0.003118, allocations: 1.753 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.005015, allocations: 1.517 MB / 351 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.005101, allocations: 0 / 351 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.005458, allocations: 39.77 kB / 351.1 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.005761, allocations: 59.69 kB / 351.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.006074, allocations: 91.69 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.006263, allocations: 99.64 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.00639, allocations: 8.234 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.0065, allocations: 51.81 kB / 351.4 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.006634, allocations: 31.91 kB / 351.4 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.006658, allocations: 7.938 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.006795, allocations: 59.91 kB / 351.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.006851, allocations: 19.92 kB / 351.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.006905, allocations: 19.92 kB / 351.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.007126, allocations: 111.6 kB / 351.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.00713, allocations: 0 / 351.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007131, allocations: 4 kB / 351.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.007136, allocations: 3.938 kB / 351.6 MB, free: 5.492 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.0004135/0.00755, allocations: 435.9 kB / 352 MB, free: 5.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.007593, allocations: 8.031 kB / 352 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.007647, allocations: 16.89 kB / 352.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.007819, allocations: 136.5 kB / 352.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.007844, allocations: 384 / 352.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.00787, allocations: 4.375 kB / 352.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.008029, allocations: 108 kB / 352.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.008039, allocations: 7.938 kB / 352.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.008049, allocations: 4 kB / 352.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.00806, allocations: 3.984 kB / 352.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.228e-05/0.008102, allocations: 11.94 kB / 352.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.008409, allocations: 275.8 kB / 352.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.008534, allocations: 55.17 kB / 352.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.00857, allocations: 23.61 kB / 352.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.008586, allocations: 0 / 352.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.008695, allocations: 72.98 kB / 352.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.008696, allocations: 4 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004894/0.009185, allocations: 153.7 kB / 352.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.009214, allocations: 81.11 kB / 353 MB, free: 3.945 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.009332, allocations: 205 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.009344, allocations: 33.64 kB / 353.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.00938, allocations: 138.9 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.009411, allocations: 27.78 kB / 353.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.009448, allocations: 23.38 kB / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.009499, allocations: 0.4962 MB / 353.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.00953, allocations: 11.98 kB / 353.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.009578, allocations: 76.81 kB / 354 MB, free: 2.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.963e-05/0.009648, allocations: 55.25 kB / 354 MB, free: 2.816 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.009649, allocations: 0 / 354 MB, free: 2.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001462/0.009796, allocations: 93.5 kB / 354.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.009811, allocations: 8 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.009816, allocations: 0 / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.009834, allocations: 0 / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.009921, allocations: 16 kB / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.009927, allocations: 4 kB / 354.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.009964, allocations: 4.062 kB / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.009974, allocations: 7.984 kB / 354.2 MB, free: 2.68 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 (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 6.781e-05/0.01004, allocations: 164.5 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.01006, allocations: 11.95 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.01026, allocations: 106.5 kB / 354.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01027, allocations: 0 / 354.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01027, allocations: 0 / 354.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01027, allocations: 3.984 kB / 354.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.01056, allocations: 389 kB / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01057, allocations: 32 / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.0106, allocations: 15.94 kB / 354.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01061, allocations: 0 / 354.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01062, allocations: 7.984 kB / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.01062, allocations: 0 / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01062, allocations: 0 / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.01078, allocations: 259.4 kB / 355.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.01079, allocations: 7.953 kB / 355.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.01081, allocations: 4 kB / 355.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.01088, allocations: 4 kB / 355.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.01091, allocations: 7.984 kB / 355.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.01093, allocations: 8 kB / 355.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.441e-05/0.011, allocations: 163 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.011, allocations: 0 / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.0113, allocations: 31.92 kB / 355.3 MB, free: 1.434 MB / 282.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.001404/0.0127, allocations: 479.7 kB / 355.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.01286, allocations: 55.59 kB / 355.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.01286, allocations: 0 / 355.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.01291, allocations: 39.61 kB / 355.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.01325, allocations: 27.84 kB / 355.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.01362, allocations: 201.1 kB / 356.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.01365, allocations: 67.25 kB / 356.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.0137, allocations: 16.61 kB / 356.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.01374, allocations: 16.5 kB / 356.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01374, allocations: 0 / 356.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of Templates: time 0.00526/0.019, allocations: 2.138 MB / 358.3 MB, free: 14.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.271791312843561]