Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001057/0.001057, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001119/0.001119, allocations: 173.9 kB / 25 MB, free: 8.34 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 0.9904/0.9904, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2718/0.2718, allocations: 32.81 MB / 294.6 MB, free: 1.289 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.992e-05, allocations: 6.312 kB / 376.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002616/0.002636, allocations: 1.758 MB / 377.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004028, allocations: 1.001 MB / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.004103, allocations: 4 kB / 378.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.004381, allocations: 43.64 kB / 378.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.004666, allocations: 99.53 kB / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.004848, allocations: 79.67 kB / 379.1 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.005014, allocations: 111.5 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.0051, allocations: 8 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.005185, allocations: 51.83 kB / 379.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.005255, allocations: 27.91 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.00527, allocations: 4 kB / 379.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.005357, allocations: 47.86 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.005406, allocations: 23.91 kB / 379.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.005446, allocations: 19.94 kB / 379.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.005627, allocations: 103.6 kB / 379.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00563, allocations: 0 / 379.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00563, allocations: 0 / 379.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005635, allocations: 0 / 379.5 MB, free: 1.527 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004551/0.00609, allocations: 447.9 kB / 379.9 MB, free: 1.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.006128, allocations: 8.031 kB / 379.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.006181, allocations: 16.84 kB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.006362, allocations: 157 kB / 380.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.006382, allocations: 4.375 kB / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.006404, allocations: 12.36 kB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.006526, allocations: 62.94 kB / 380.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.006536, allocations: 3.938 kB / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.006545, allocations: 0 / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.006552, allocations: 0 / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.923e-05/0.006591, allocations: 11.98 kB / 380.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.006902, allocations: 287.7 kB / 380.4 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.007012, allocations: 55.16 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.007047, allocations: 19.62 kB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.007057, allocations: 8 kB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.007158, allocations: 65.05 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.007159, allocations: 3.938 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004032/0.007563, allocations: 149.5 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.007598, allocations: 63.27 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.007773, allocations: 234.3 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.007789, allocations: 29.7 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.007854, allocations: 150.9 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.007884, allocations: 31.77 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.007925, allocations: 31.38 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.008051, allocations: 0.4962 MB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.008083, allocations: 11.98 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.008123, allocations: 31.38 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.334e-05/0.008196, allocations: 55.23 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008197, allocations: 0 / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001265/0.008324, allocations: 89.59 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.008338, allocations: 5.875 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.008344, allocations: 4 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.008356, allocations: 0 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.008433, allocations: 23.95 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.008438, allocations: 0 / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.008472, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.008481, allocations: 8 kB / 382 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 (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 7.339e-05/0.008554, allocations: 164.2 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.008578, allocations: 15.95 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.008739, allocations: 107.2 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.008743, allocations: 3.984 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.008746, allocations: 0 / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008749, allocations: 0 / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.009059, allocations: 396.9 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.00906, allocations: 4 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.00909, allocations: 8 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009092, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.009102, allocations: 7.984 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009104, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.009106, allocations: 3.938 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.00927, allocations: 255.5 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.009289, allocations: 11.91 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.009307, allocations: 7.969 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.009366, allocations: 4 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.009398, allocations: 15.92 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.009411, allocations: 4.375 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.069e-05/0.009502, allocations: 172.1 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009502, allocations: 0 / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.009755, allocations: 27.94 kB / 383.2 MB, free: 13.5 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.0009956/0.01075, allocations: 440.5 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.01087, allocations: 59.58 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01088, allocations: 0 / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/0.01092, allocations: 35.61 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.01121, allocations: 23.98 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.01156, allocations: 218 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.01161, allocations: 67.33 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.224e-05/0.01165, allocations: 21.25 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.01168, allocations: 20.62 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01168, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of Templates: time 0.003939/0.01562, allocations: 1.874 MB / 385.9 MB, free: 10.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.23300993302837]