Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001018/0.001018, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001167/0.001167, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9956/0.9956, allocations: 177.1 MB / 205 MB, free: 5.598 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.266/0.266, allocations: 34.25 MB / 295.7 MB, free: 0.7578 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.695e-05, allocations: 2.312 kB / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002608/0.002635, allocations: 1.793 MB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.003933, allocations: 1.021 MB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.004028, allocations: 3.938 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.004383, allocations: 115.5 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.004726, allocations: 123.5 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.004931, allocations: 91.53 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.005126, allocations: 135.6 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.005223, allocations: 21.56 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.005322, allocations: 75.75 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.005431, allocations: 71.83 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.005448, allocations: 8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.005553, allocations: 63.92 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.005607, allocations: 31.86 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.00565, allocations: 31.84 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.005853, allocations: 131.5 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.005858, allocations: 4 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005859, allocations: 3.938 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005864, allocations: 3.984 kB / 381.9 MB, free: 14.8 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000511/0.006375, allocations: 483.6 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.006414, allocations: 8.031 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.006474, allocations: 24.78 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.006666, allocations: 173.3 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.006683, allocations: 384 / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.006705, allocations: 8.375 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.006848, allocations: 74.86 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.006861, allocations: 7.938 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006872, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.00688, allocations: 0 / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.489e-05/0.006935, allocations: 27.91 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.007275, allocations: 319.7 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.007477, allocations: 78.91 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.007511, allocations: 23.67 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.007525, allocations: 4 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.007631, allocations: 73.05 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.007633, allocations: 3.984 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005965/0.008229, allocations: 273.1 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.008265, allocations: 59.33 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.008427, allocations: 270.8 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.008444, allocations: 33.7 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.008507, allocations: 166.8 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.008545, allocations: 55.72 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.008583, allocations: 35.38 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.008696, allocations: 0.5078 MB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.008737, allocations: 23.98 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.151e-05/0.008789, allocations: 46.88 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.021e-05/0.008879, allocations: 83.11 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.00888, allocations: 0 / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001591/0.009039, allocations: 137.5 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.009054, allocations: 13.75 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.009059, allocations: 0 / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.009072, allocations: 0 / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.009145, allocations: 35.92 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.00915, allocations: 0 / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.00918, allocations: 0 / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.00919, allocations: 15.92 kB / 384.9 MB, free: 11.56 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 (16): * Single equations (assignments): 16 * 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.396e-05/0.009274, allocations: 156.7 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.009299, allocations: 31.8 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.009515, allocations: 167 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.009518, allocations: 8 kB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.009522, allocations: 0 / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.009526, allocations: 0 / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.009933, allocations: 488.6 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009935, allocations: 0 / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.009984, allocations: 31.92 kB / 385.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.009987, allocations: 0 / 385.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.009997, allocations: 7.938 kB / 385.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01, allocations: 4 kB / 385.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01, allocations: 64 / 385.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.01022, allocations: 315.1 kB / 386 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.01024, allocations: 23.78 kB / 386.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.01026, allocations: 4 kB / 386.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.01031, allocations: 11.98 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.01034, allocations: 7.984 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01036, allocations: 4 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.875e-05/0.01045, allocations: 197.4 kB / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01045, allocations: 0 / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.01066, allocations: 35.92 kB / 386.3 MB, free: 10.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001092/0.01175, allocations: 497.2 kB / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.01192, allocations: 83.58 kB / 386.9 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01192, allocations: 4 kB / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.01198, allocations: 59.47 kB / 387 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.01225, allocations: 42.69 kB / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.01268, allocations: 313.8 kB / 387.3 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.01272, allocations: 75.83 kB / 387.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5e-05/0.01277, allocations: 21.47 kB / 387.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.01282, allocations: 32.55 kB / 387.4 MB, free: 9.023 MB / 362.7 MB Notification: Performance of SimCode: time 1.113e-06/0.01282, allocations: 0 / 387.4 MB, free: 9.023 MB / 362.7 MB Notification: Performance of Templates: time 0.004373/0.01719, allocations: 2.543 MB / 390 MB, free: 6.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.2586557739414275]