Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001378/0.001378, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001458/0.001458, allocations: 162.9 kB / 24.99 MB, free: 8.758 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.9773/0.9773, allocations: 177.1 MB / 205.3 MB, free: 5.586 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.294/0.294, allocations: 32.8 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.661e-05, allocations: 9.828 kB / 376.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.005667/0.005693, allocations: 1.758 MB / 377.8 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.007085, allocations: 1.001 MB / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.007169, allocations: 0 / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003326/0.01049, allocations: 51.7 kB / 378.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.01084, allocations: 99.47 kB / 379 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.01107, allocations: 75.66 kB / 379.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.01125, allocations: 107.6 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.01135, allocations: 7.984 kB / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.882e-05/0.01145, allocations: 63.75 kB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.01152, allocations: 23.92 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.01154, allocations: 4 kB / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.802e-05/0.01164, allocations: 51.91 kB / 379.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.01169, allocations: 27.86 kB / 379.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.01174, allocations: 15.94 kB / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.01194, allocations: 95.64 kB / 379.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.01195, allocations: 4 kB / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01195, allocations: 0 / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.01195, allocations: 4 kB / 379.5 MB, free: 1.504 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.0005032/0.01245, allocations: 443.9 kB / 379.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.01249, allocations: 11.97 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.01255, allocations: 16.84 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.01274, allocations: 161 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.01276, allocations: 4.375 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.01278, allocations: 4.375 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.01292, allocations: 62.94 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01293, allocations: 3.938 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.01294, allocations: 0 / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.01295, allocations: 0 / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/0.01299, allocations: 11.98 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.01441, allocations: 291.7 kB / 380.5 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.01454, allocations: 51.17 kB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.01458, allocations: 23.62 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.01459, allocations: 0 / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.01471, allocations: 68.98 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.01471, allocations: 0 / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004481/0.01516, allocations: 157.6 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.01519, allocations: 51.41 kB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.01537, allocations: 242.4 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.01538, allocations: 25.7 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.01544, allocations: 146.9 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.01547, allocations: 31.78 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.01551, allocations: 27.38 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.01563, allocations: 0.4962 MB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.01566, allocations: 12.17 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.381e-05/0.01571, allocations: 39.36 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.814e-05/0.01578, allocations: 51.25 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01578, allocations: 0 / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001388/0.01592, allocations: 93.58 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01593, allocations: 10.06 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01594, allocations: 4 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01595, allocations: 3.938 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.01604, allocations: 12 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.01605, allocations: 4 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.01608, allocations: 3.984 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.01609, allocations: 4 kB / 382 MB, free: 14.75 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.984e-05/0.01617, allocations: 164.5 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.01619, allocations: 11.95 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.01637, allocations: 111.1 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01637, allocations: 8 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01637, allocations: 0 / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01638, allocations: 0 / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.0167, allocations: 396.9 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01671, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.01674, allocations: 11.98 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01674, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.01675, allocations: 4 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01676, allocations: 3.938 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01676, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.01693, allocations: 259.5 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.01728, allocations: 15.91 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.01731, allocations: 4 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.01738, allocations: 3.984 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.01741, allocations: 7.984 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.01743, allocations: 11.98 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.435e-05/0.01753, allocations: 168.1 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01753, allocations: 4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.01778, allocations: 23.94 kB / 383.2 MB, free: 13.48 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.001095/0.01887, allocations: 451.2 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.01903, allocations: 47.61 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01903, allocations: 0 / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.01908, allocations: 35.61 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.01941, allocations: 31.84 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.01983, allocations: 218 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.837e-05/0.01988, allocations: 67.34 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.615e-05/0.01992, allocations: 21.39 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.01996, allocations: 16.5 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01996, allocations: 3.938 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Templates: time 0.004314/0.02427, allocations: 1.868 MB / 385.9 MB, free: 10.87 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.325265008956194]