Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001224/0.001224, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001213/0.001213, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 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 1.079/1.079, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4066/0.4066, allocations: 34.27 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.646e-06/3.646e-06, allocations: 4 kB / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/3.112e-05, allocations: 2.312 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.005895/0.005926, allocations: 1.753 MB / 380.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004537/0.01046, allocations: 0.9975 MB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.58e-05/0.01055, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.01087, allocations: 79.64 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.01121, allocations: 123.4 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.01142, allocations: 83.59 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.0116, allocations: 123.5 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.01169, allocations: 7.984 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.0118, allocations: 63.88 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.0119, allocations: 55.81 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.01192, allocations: 4 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.313e-05/0.01201, allocations: 47.86 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.01207, allocations: 27.92 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.01211, allocations: 19.92 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.0123, allocations: 103.6 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.0123, allocations: 0 / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0123, allocations: 0 / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.01231, allocations: 0 / 382.1 MB, free: 14.81 MB / 362.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.0004614/0.01277, allocations: 455.8 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.01281, allocations: 12.03 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.01285, allocations: 16.84 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.01301, allocations: 160.3 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.01303, allocations: 384 / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.01304, allocations: 12.33 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.01315, allocations: 62.92 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.01317, allocations: 3.938 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.01317, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002998/0.01617, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.0162, allocations: 11.98 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.01648, allocations: 264.4 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.138e-05/0.01657, allocations: 51.09 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.0166, allocations: 23.67 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.01662, allocations: 8 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.699e-05/0.01671, allocations: 68.92 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.01671, allocations: 0 / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003329/0.01705, allocations: 129.5 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.01708, allocations: 55.34 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.01724, allocations: 238.7 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.01726, allocations: 29.7 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.01733, allocations: 162.8 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.01736, allocations: 27.78 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.0174, allocations: 31.36 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.01754, allocations: 0.5001 MB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.01756, allocations: 11.98 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.0176, allocations: 31.36 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.563e-05/0.01765, allocations: 47.38 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01765, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001137/0.01777, allocations: 89.52 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01778, allocations: 4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01778, allocations: 3.984 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.0178, allocations: 4.031 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.01786, allocations: 19.94 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.01786, allocations: 0 / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.0179, allocations: 4 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.0179, allocations: 4 kB / 384.6 MB, free: 12.09 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 (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 8.061e-05/0.01798, allocations: 164.6 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.01801, allocations: 15.89 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.01816, allocations: 103 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01816, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01816, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01817, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.01846, allocations: 361.6 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.01847, allocations: 4 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.01849, allocations: 11.98 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.0185, allocations: 0 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.0185, allocations: 4.375 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.0185, allocations: 7.938 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01851, allocations: 3.938 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.01867, allocations: 259.4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.01868, allocations: 11.89 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.0187, allocations: 12.02 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.01875, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.01878, allocations: 7.984 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.01879, allocations: 4 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.232e-05/0.01888, allocations: 173 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01888, allocations: 0 / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003245/0.02212, allocations: 27.92 kB / 385.7 MB, free: 10.86 MB / 362.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.001011/0.02313, allocations: 429.1 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.02324, allocations: 59.56 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.02324, allocations: 0 / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.394e-05/0.02328, allocations: 27.62 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.02357, allocations: 49.38 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.02392, allocations: 232.6 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.438e-05/0.02397, allocations: 71.31 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.429e-05/0.02402, allocations: 21.09 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.0241, allocations: 90.19 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.0241, allocations: 0 / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of Templates: time 0.008179/0.03228, allocations: 2.044 MB / 388.7 MB, free: 7.984 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.685981802176684]