Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001405/0.001405, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001664/0.001664, allocations: 209.6 kB / 23.73 MB, free: 4.41 MB / 14.72 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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2361/0.2361, allocations: 46.95 MB / 360.9 MB, free: 4.039 MB / 286.1 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 71.89 kB / 0.4966 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3694, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.005584/0.375, allocations: 1.784 MB / 0.5629 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.3786, allocations: 1.046 MB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.3788, allocations: 4 kB / 0.5639 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007928/0.3796, allocations: 307.3 kB / 0.5642 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008672/0.3804, allocations: 263.2 kB / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.3809, allocations: 107.6 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.3814, allocations: 267.2 kB / 0.5648 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.843e-05/0.3815, allocations: 9.797 kB / 0.5648 GB, free: 384 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.3818, allocations: 131.6 kB / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004799/0.3823, allocations: 223.4 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.3823, allocations: 8 kB / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.3826, allocations: 47.98 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.3828, allocations: 143.6 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.383, allocations: 111 kB / 0.5654 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007468/0.3838, allocations: 384.6 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3838, allocations: 0 / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3838, allocations: 3.938 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.3838, allocations: 4 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001755/0.3855, allocations: 0.6747 MB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3856, allocations: 12.03 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.3858, allocations: 52.59 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.387, allocations: 398.5 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.387, allocations: 4.375 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.387, allocations: 8.125 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.3873, allocations: 83.36 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3874, allocations: 0 / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.3874, allocations: 11.98 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3874, allocations: 0 / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.3876, allocations: 35.91 kB / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.3883, allocations: 318 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.3888, allocations: 101.2 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.389, allocations: 37.7 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.389, allocations: 4 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.3893, allocations: 120.9 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.504e-06/0.3893, allocations: 0 / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009048/0.3903, allocations: 201.3 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3904, allocations: 89.05 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.3925, allocations: 1.061 MB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.3926, allocations: 29.7 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.3929, allocations: 240.1 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.393, allocations: 27.75 kB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.3931, allocations: 37.7 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003025/0.3934, allocations: 366.8 kB / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.3936, allocations: 35.97 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.3938, allocations: 55.42 kB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.3941, allocations: 95.84 kB / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3941, allocations: 0 / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006349/0.3947, allocations: 189.2 kB / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3948, allocations: 6.344 kB / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3948, allocations: 0 / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.3948, allocations: 4 kB / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.395, allocations: 23.92 kB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.395, allocations: 4 kB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.3952, allocations: 11.94 kB / 0.57 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3952, allocations: 4 kB / 0.57 GB, free: 10.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0003749/0.3955, allocations: 221.8 kB / 0.5702 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3957, allocations: 59.59 kB / 0.5703 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006901/0.3964, allocations: 205.8 kB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.3964, allocations: 3.984 kB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3964, allocations: 0 / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3964, allocations: 4 kB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.3968, allocations: 261.2 kB / 0.5707 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3968, allocations: 0 / 0.5707 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/0.3969, allocations: 23.92 kB / 0.5707 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.3969, allocations: 3.938 kB / 0.5708 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3969, allocations: 0 / 0.5708 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.397, allocations: 4 kB / 0.5708 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.397, allocations: 4 kB / 0.5708 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.3976, allocations: 217.8 kB / 0.571 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.3978, allocations: 79.53 kB / 0.571 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/0.3979, allocations: 4 kB / 0.571 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.398, allocations: 7.984 kB / 0.5711 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.3981, allocations: 19.86 kB / 0.5711 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.3981, allocations: 4 kB / 0.5711 GB, free: 9.648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001473/0.3996, allocations: 0.7878 MB / 0.5718 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3996, allocations: 0 / 0.5718 GB, free: 8.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000484/0.4001, allocations: 51.98 kB / 0.5719 GB, free: 8.812 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002432/0.4025, allocations: 437.6 kB / 0.5723 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004898/0.403, allocations: 84.02 kB / 0.5724 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.403, allocations: 0 / 0.5724 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.4032, allocations: 48.17 kB / 0.5724 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.4039, allocations: 82.7 kB / 0.5725 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.4062, allocations: 0.8934 MB / 0.5734 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.4066, allocations: 241.8 kB / 0.5736 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.4068, allocations: 58.94 kB / 0.5737 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.4069, allocations: 27.44 kB / 0.5737 GB, free: 7.098 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4069, allocations: 0 / 0.5737 GB, free: 7.098 MB / 414.1 MB Notification: Performance of Templates: time 0.01705/0.4239, allocations: 4.382 MB / 0.578 GB, free: 2.766 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.327549960464239]