Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009669/0.0009669, allocations: 78.66 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.001048/0.001048, 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 0.9338/0.9338, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.2596/0.2596, allocations: 32.81 MB / 294.6 MB, free: 1.258 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 376.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.422e-05, allocations: 2.312 kB / 376.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002341/0.002355, allocations: 1.758 MB / 378.3 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.004123, allocations: 1.725 MB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.004192, allocations: 4 kB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.004399, allocations: 39.77 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.004639, allocations: 107.3 kB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.004761, allocations: 79.66 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.004928, allocations: 107.6 kB / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.005025, allocations: 7.984 kB / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.156e-05/0.005117, allocations: 59.83 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.005221, allocations: 35.89 kB / 380.5 MB, free: 412 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.005239, allocations: 4 kB / 380.5 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.005384, allocations: 107.8 kB / 380.6 MB, free: 300 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.005429, allocations: 27.86 kB / 380.6 MB, free: 272 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.005459, allocations: 19.92 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.00565, allocations: 159.5 kB / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.005652, allocations: 0 / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.005652, allocations: 0 / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005656, allocations: 0 / 380.8 MB, free: 92 kB / 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.0004194/0.006076, allocations: 455.9 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.006112, allocations: 8.031 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.006145, allocations: 8.891 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.006284, allocations: 153 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.006298, allocations: 8.375 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.006313, allocations: 384 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.006432, allocations: 111.4 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.006442, allocations: 7.891 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.006452, allocations: 8 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.006458, allocations: 0 / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.448e-05/0.006483, allocations: 7.984 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.006975, allocations: 260.4 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.982e-05/0.007054, allocations: 51.11 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.007076, allocations: 23.61 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.00709, allocations: 0 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.597e-05/0.007166, allocations: 65.05 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.007166, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002829/0.007449, allocations: 137.4 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.00748, allocations: 81.11 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.007588, allocations: 211.9 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.007603, allocations: 33.69 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.007654, allocations: 142.9 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.007677, allocations: 27.72 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.007708, allocations: 35.36 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.007817, allocations: 0.5 MB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.007834, allocations: 11.98 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.007872, allocations: 64.69 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.007913, allocations: 43.36 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007914, allocations: 0 / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.493e-05/0.007999, allocations: 89.52 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.008011, allocations: 10.19 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.008015, allocations: 0 / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.008025, allocations: 4.062 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.008078, allocations: 15.98 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.008082, allocations: 4 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.008108, allocations: 0 / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.008115, allocations: 7.984 kB / 383.3 MB, free: 13.3 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 6.695e-05/0.008182, allocations: 172.4 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.008195, allocations: 7.953 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.008309, allocations: 98.53 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008312, allocations: 4 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008314, allocations: 384 / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008318, allocations: 7.984 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.008559, allocations: 361.6 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.008561, allocations: 4 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.00859, allocations: 11.98 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.008593, allocations: 4 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.0086, allocations: 0 / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008601, allocations: 0 / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008602, allocations: 0 / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.00876, allocations: 255.4 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.008773, allocations: 11.95 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.008789, allocations: 8.016 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.154e-05/0.008831, allocations: 4 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.008855, allocations: 11.98 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.008865, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.008924, allocations: 158 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008924, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.009111, allocations: 59.73 kB / 384.5 MB, free: 12.06 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.001005/0.01012, allocations: 0.5287 MB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.775e-05/0.0102, allocations: 39.67 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.0102, allocations: 4.062 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.01024, allocations: 35.59 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.01045, allocations: 46.78 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.01072, allocations: 197.9 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.672e-05/0.01076, allocations: 63.34 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.201e-05/0.0108, allocations: 21.2 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.01088, allocations: 102.2 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01088, allocations: 0 / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of Templates: time 0.003973/0.01485, allocations: 2.789 MB / 388.3 MB, free: 8.414 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.0611453051678836]