Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001481/0.001481, allocations: 84.55 kB / 20.68 MB, free: 1.012 MB / 14.72 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.001616/0.001616, allocations: 167.6 kB / 23.96 MB, free: 4.125 MB / 14.72 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.387/1.387, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.2002/0.2002, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.536e-05, allocations: 2.281 kB / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003179/0.003214, allocations: 1.708 MB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.005153, allocations: 0.9703 MB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.00523, allocations: 0 / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.0055, allocations: 39.78 kB / 442.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.005859, allocations: 99.47 kB / 443 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.006116, allocations: 83.53 kB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.006313, allocations: 99.7 kB / 443.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.006409, allocations: 11.97 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.006528, allocations: 55.78 kB / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.006616, allocations: 31.89 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.006637, allocations: 4 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.006753, allocations: 39.98 kB / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.006807, allocations: 11.94 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.006859, allocations: 27.91 kB / 443.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.007089, allocations: 115.6 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007092, allocations: 3.938 kB / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007093, allocations: 0 / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.007101, allocations: 0 / 443.5 MB, free: 4.754 MB / 366.1 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.0005608/0.007662, allocations: 337.6 kB / 443.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.007698, allocations: 12.03 kB / 443.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.007747, allocations: 12.89 kB / 443.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.007984, allocations: 144 kB / 444 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.008001, allocations: 8.375 kB / 444 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.008023, allocations: 4.375 kB / 444 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.008178, allocations: 54.23 kB / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.008193, allocations: 7.938 kB / 444 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.008202, allocations: 0 / 444 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.008205, allocations: 0 / 444 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.008286, allocations: 23.97 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.008687, allocations: 228.6 kB / 444.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.008873, allocations: 58.61 kB / 444.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.008947, allocations: 28.78 kB / 444.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.008962, allocations: 0 / 444.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.009108, allocations: 71.33 kB / 444.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.767e-06/0.009112, allocations: 3.984 kB / 444.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006004/0.009713, allocations: 181.3 kB / 444.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.009753, allocations: 51.41 kB / 444.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.009948, allocations: 180.9 kB / 444.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.009968, allocations: 25.7 kB / 444.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.01003, allocations: 96.14 kB / 445 MB, free: 3.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.01007, allocations: 27.78 kB / 445 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.01012, allocations: 29.66 kB / 445 MB, free: 3.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.01027, allocations: 326.8 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.01033, allocations: 19.98 kB / 445.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.01041, allocations: 33.7 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.01055, allocations: 69.7 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01055, allocations: 0 / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002118/0.01076, allocations: 113.5 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01078, allocations: 4 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01078, allocations: 4.031 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.0108, allocations: 4 kB / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.01089, allocations: 12.19 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.01089, allocations: 7.922 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.01094, allocations: 8.312 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.01095, allocations: 0 / 445.6 MB, free: 2.43 MB / 366.1 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 0.0001164/0.01106, allocations: 125.8 kB / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.01109, allocations: 7.953 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.01136, allocations: 126.4 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01136, allocations: 4 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01136, allocations: 4 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01137, allocations: 0 / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.01184, allocations: 350.9 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01184, allocations: 0 / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.01189, allocations: 11.98 kB / 446.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.0119, allocations: 4 kB / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.0119, allocations: 0 / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01191, allocations: 0 / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01191, allocations: 0 / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.01219, allocations: 220.2 kB / 446.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.01221, allocations: 15.88 kB / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.01225, allocations: 0 / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.01232, allocations: 4 kB / 446.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.01237, allocations: 11.98 kB / 446.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.01238, allocations: 4 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.01252, allocations: 139.3 kB / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01252, allocations: 0 / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.01279, allocations: 31.88 kB / 446.6 MB, free: 1.312 MB / 366.1 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.001813/0.0146, allocations: 497.2 kB / 447.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.0148, allocations: 59.91 kB / 447.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.0148, allocations: 0 / 447.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.01489, allocations: 32.12 kB / 447.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.01525, allocations: 28.11 kB / 447.3 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.01573, allocations: 214.4 kB / 447.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.895e-05/0.01581, allocations: 85.44 kB / 447.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.01587, allocations: 20.91 kB / 447.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.01591, allocations: 16.5 kB / 447.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.01591, allocations: 4 kB / 447.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of Templates: time 0.1723/0.1882, allocations: 1.845 MB / 449.4 MB, free: 21.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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: 4.505332108587027]