Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001451/0.001451, allocations: 81.88 kB / 21.42 MB, free: 3.07 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.001622/0.001622, allocations: 169.2 kB / 24.82 MB, free: 8.871 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.11/1.11, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.3284/0.3284, allocations: 34.26 MB / 296.1 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 180] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 378.6 MB, free: 2.258 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.207e-05, allocations: 2.312 kB / 378.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002932/0.002964, allocations: 1.761 MB / 380.4 MB, free: 492 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.004866, allocations: 0.9936 MB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.005006, allocations: 4 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.005397, allocations: 43.7 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.005853, allocations: 99.47 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.006177, allocations: 79.61 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.00638, allocations: 107.7 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.006481, allocations: 8 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.006593, allocations: 55.77 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.006674, allocations: 27.91 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.00669, allocations: 4 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.0068, allocations: 47.92 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.006853, allocations: 23.91 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.006898, allocations: 19.88 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.007079, allocations: 103.6 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007082, allocations: 0 / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.007084, allocations: 3.984 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.007089, allocations: 0 / 382 MB, free: 14.86 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.0004606/0.00755, allocations: 443.8 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.007595, allocations: 12.03 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.007638, allocations: 16.83 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.007808, allocations: 153.1 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.007823, allocations: 8.375 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.00784, allocations: 4.375 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.007975, allocations: 58.94 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.007989, allocations: 11.81 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.007998, allocations: 0 / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.008004, allocations: 0 / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.036e-05/0.008035, allocations: 15.98 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.008311, allocations: 252.4 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.008402, allocations: 55.03 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.008422, allocations: 23.75 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.008439, allocations: 3.984 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.008544, allocations: 68.98 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.008546, allocations: 0 / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003766/0.008923, allocations: 133.5 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.008959, allocations: 55.41 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.009089, allocations: 226.3 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.009102, allocations: 25.7 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.009161, allocations: 150.8 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.009192, allocations: 31.78 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.009233, allocations: 31.36 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.009388, allocations: 0.4962 MB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.009413, allocations: 8 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.009447, allocations: 35.3 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.009499, allocations: 43.42 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.009501, allocations: 0 / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001248/0.009626, allocations: 101.4 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.00964, allocations: 4 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.009645, allocations: 4.031 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.009656, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.009724, allocations: 16 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.009728, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.00976, allocations: 7.984 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.009765, allocations: 4 kB / 384.4 MB, free: 12.19 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 9.118e-05/0.009857, allocations: 168.5 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.009875, allocations: 19.84 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.01002, allocations: 99.06 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01002, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01002, allocations: 4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01003, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.01032, allocations: 365.5 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01032, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.01035, allocations: 8 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01035, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.01036, allocations: 4 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01036, allocations: 384 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01037, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.01054, allocations: 263.4 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.01055, allocations: 15.98 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.01057, allocations: 3.984 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.01061, allocations: 0 / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.01064, allocations: 11.98 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.01066, allocations: 4 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.004e-05/0.01073, allocations: 164.1 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01073, allocations: 0 / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.0109, allocations: 27.92 kB / 385.6 MB, free: 10.98 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.001059/0.01196, allocations: 433.5 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.01207, allocations: 51.66 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01207, allocations: 0 / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.01211, allocations: 31.61 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.01235, allocations: 44.92 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.01274, allocations: 218 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/0.01279, allocations: 67.33 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.49e-05/0.01283, allocations: 17.11 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.01291, allocations: 90.12 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01291, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.004008/0.01692, allocations: 2.042 MB / 388.5 MB, free: 8.125 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.5735253943130374]