Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001688/0.001688, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002039/0.002039, allocations: 209.2 kB / 24.48 MB, free: 3.836 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.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2319/0.2319, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 67.89 kB / 0.4974 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3748, allocations: 66.03 MB / 0.5619 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.005817/0.3806, allocations: 1.709 MB / 0.5636 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.3837, allocations: 0.9637 MB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3838, allocations: 0 / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.3843, allocations: 43.77 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.3848, allocations: 103.5 kB / 0.5646 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.3852, allocations: 75.73 kB / 0.5647 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.3854, allocations: 111.6 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3856, allocations: 4 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.3857, allocations: 43.8 kB / 0.5649 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3858, allocations: 35.77 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.3858, allocations: 4 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.386, allocations: 39.98 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.3861, allocations: 19.92 kB / 0.565 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.672e-05/0.3861, allocations: 35.73 kB / 0.565 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.3865, allocations: 121.9 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3865, allocations: 4 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3865, allocations: 0 / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3865, allocations: 0 / 0.5651 GB, free: 0.8398 MB / 398.1 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.0007769/0.3873, allocations: 337.6 kB / 0.5654 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3873, allocations: 12.03 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.3874, allocations: 12.84 kB / 0.5655 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.3879, allocations: 142.4 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3879, allocations: 4.375 kB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.3879, allocations: 16.05 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3881, allocations: 57.66 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3881, allocations: 4 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3882, allocations: 0 / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3882, allocations: 0 / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.492e-05/0.3883, allocations: 19.98 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.3888, allocations: 236.5 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.3891, allocations: 62.56 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.3891, allocations: 24.78 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3892, allocations: 0 / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.3894, allocations: 71.39 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.3894, allocations: 0 / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008117/0.3902, allocations: 185.3 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.3903, allocations: 51.41 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.3905, allocations: 183.2 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.3906, allocations: 37.69 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3907, allocations: 100.1 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.3907, allocations: 23.84 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.3908, allocations: 25.72 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.391, allocations: 322.8 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.196e-05/0.3911, allocations: 31.92 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3912, allocations: 37.7 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3914, allocations: 57.7 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3914, allocations: 0 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003271/0.3917, allocations: 113.5 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3918, allocations: 6.5 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3918, allocations: 160 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3918, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3919, allocations: 20.03 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.3919, allocations: 3.984 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.392, allocations: 7.984 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.392, allocations: 4 kB / 0.5672 GB, free: 14.49 MB / 414.1 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 0.0001541/0.3922, allocations: 125.7 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.3922, allocations: 11.95 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.3926, allocations: 123 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3926, allocations: 3.984 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3926, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3926, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/0.3933, allocations: 351.2 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3933, allocations: 4 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.3933, allocations: 15.98 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3933, allocations: 3.938 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3934, allocations: 384 / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3934, allocations: 7.938 kB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.3934, allocations: 7.938 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.3938, allocations: 212.2 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.3938, allocations: 11.94 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.3938, allocations: 8.031 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3939, allocations: 4 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.394, allocations: 7.922 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.394, allocations: 4 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002426/0.3942, allocations: 150 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3942, allocations: 0 / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004263/0.3947, allocations: 20 kB / 0.5682 GB, free: 13.36 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: 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.002513/0.3972, allocations: 498.8 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.3975, allocations: 59.91 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3975, allocations: 0 / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3976, allocations: 27.98 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.3981, allocations: 34.86 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.3989, allocations: 269.3 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.399, allocations: 88.19 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.3991, allocations: 19.42 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3991, allocations: 0 / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of Templates: time 0.006247/0.4053, allocations: 1.948 MB / 0.5711 GB, free: 10.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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: 8.106338199228048]