Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.002651/0.002651, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.00251/0.00251, allocations: 165.6 kB / 23.53 MB, free: 0.9023 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 1.493/1.493, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2312/0.2312, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.746e-05, allocations: 2.312 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002815/0.002843, allocations: 1.851 MB / 348.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.00422, allocations: 0.8739 MB / 349.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.004304, allocations: 0 / 349.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.004764, allocations: 263.2 kB / 350 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.005063, allocations: 187.3 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.005352, allocations: 151.5 kB / 350.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.005563, allocations: 239.3 kB / 350.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.005652, allocations: 25.72 kB / 350.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.005806, allocations: 139.7 kB / 350.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.005983, allocations: 191.6 kB / 350.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.006015, allocations: 8 kB / 350.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.006104, allocations: 43.92 kB / 351 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.006175, allocations: 67.7 kB / 351 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.006229, allocations: 39.8 kB / 351.1 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.006455, allocations: 227.1 kB / 351.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.006458, allocations: 0 / 351.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006459, allocations: 0 / 351.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.006466, allocations: 0 / 351.3 MB, free: 5.426 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005777/0.007043, allocations: 0.6037 MB / 351.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.007074, allocations: 16.03 kB / 351.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.00714, allocations: 36.73 kB / 351.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.007367, allocations: 220.6 kB / 352.2 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.007385, allocations: 12.36 kB / 352.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.007407, allocations: 4.375 kB / 352.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.007582, allocations: 101.5 kB / 352.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.007596, allocations: 3.938 kB / 352.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.007609, allocations: 4 kB / 352.3 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.007613, allocations: 4 kB / 352.3 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.007724, allocations: 27.97 kB / 352.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.008156, allocations: 0.526 MB / 352.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.008424, allocations: 130.2 kB / 353 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.008529, allocations: 39.36 kB / 353 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.008549, allocations: 4 kB / 353 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.008736, allocations: 136.2 kB / 353.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.008737, allocations: 0 / 353.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007688/0.009506, allocations: 384.5 kB / 353.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.009535, allocations: 81.11 kB / 353.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.00986, allocations: 458.8 kB / 354 MB, free: 2.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.009876, allocations: 29.7 kB / 354.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.009972, allocations: 227.1 kB / 354.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.01001, allocations: 47.64 kB / 354.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.01007, allocations: 47.36 kB / 354.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.01018, allocations: 0.5352 MB / 354.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.01026, allocations: 47.86 kB / 355 MB, free: 1.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.01035, allocations: 86.72 kB / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.01051, allocations: 135.5 kB / 355.2 MB, free: 1.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01051, allocations: 4 kB / 355.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002681/0.01078, allocations: 181.4 kB / 355.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.0108, allocations: 11.98 kB / 355.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.0108, allocations: 0 / 355.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01082, allocations: 4 kB / 355.4 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.01095, allocations: 35.92 kB / 355.4 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.01095, allocations: 0 / 355.4 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.01103, allocations: 8 kB / 355.4 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.01104, allocations: 8 kB / 355.4 MB, free: 0.9922 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.263e-05/0.01113, allocations: 192.5 kB / 355.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.01117, allocations: 35.77 kB / 355.7 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.01151, allocations: 208.4 kB / 355.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01151, allocations: 4 kB / 355.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01152, allocations: 0 / 355.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01152, allocations: 0 / 355.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007592/0.01228, allocations: 0.7223 MB / 356.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01228, allocations: 0 / 356.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/0.01236, allocations: 19.94 kB / 356.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.01237, allocations: 7.984 kB / 356.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.01238, allocations: 8.062 kB / 356.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01239, allocations: 4.312 kB / 356.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.01239, allocations: 3.938 kB / 356.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.01296, allocations: 494.1 kB / 357.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.01301, allocations: 27.75 kB / 357.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.01305, allocations: 11.98 kB / 357.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.01317, allocations: 4 kB / 357.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.01324, allocations: 27.89 kB / 357.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.01326, allocations: 8 kB / 357.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003396/0.0136, allocations: 299.1 kB / 357.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0136, allocations: 4 kB / 357.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000343/0.01395, allocations: 47.92 kB / 357.5 MB, free: 14.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003272/0.01722, allocations: 494.7 kB / 358 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004129/0.01763, allocations: 131.6 kB / 358.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01763, allocations: 0 / 358.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.0178, allocations: 67.59 kB / 358.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.01842, allocations: 70.11 kB / 358.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.01945, allocations: 489.1 kB / 358.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.01965, allocations: 161.4 kB / 358.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.151e-05/0.01974, allocations: 34.23 kB / 359 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.01981, allocations: 28.5 kB / 359 MB, free: 13.39 MB / 298.7 MB Notification: Performance of SimCode: time 1.393e-06/0.01981, allocations: 0 / 359 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Templates: time 0.008218/0.02803, allocations: 2.92 MB / 361.9 MB, free: 10.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.298418757971376]