Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001578/0.001578, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002142/0.002142, allocations: 208.6 kB / 24.49 MB, free: 4.133 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 8.242 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.2468/0.2468, allocations: 46.93 MB / 361.6 MB, free: 4.328 MB / 286.1 MB " [Timeout remaining time 179] 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 71.83 kB / 0.4975 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3798, allocations: 66.02 MB / 0.5619 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003023/0.3828, allocations: 1.745 MB / 0.5636 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3845, allocations: 1.052 MB / 0.5647 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.3846, allocations: 7.875 kB / 0.5647 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.3848, allocations: 55.75 kB / 0.5647 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.385, allocations: 99.59 kB / 0.5648 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.3852, allocations: 87.66 kB / 0.5649 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.3853, allocations: 91.77 kB / 0.565 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.3854, allocations: 15.92 kB / 0.565 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.3855, allocations: 55.66 kB / 0.5651 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.3855, allocations: 27.84 kB / 0.5651 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3856, allocations: 4 kB / 0.5651 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.758e-05/0.3856, allocations: 43.97 kB / 0.5651 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.3857, allocations: 31.86 kB / 0.5652 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.3857, allocations: 35.69 kB / 0.5652 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.3859, allocations: 145.8 kB / 0.5653 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.3859, allocations: 0 / 0.5653 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3859, allocations: 4 kB / 0.5653 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.3859, allocations: 0 / 0.5653 GB, free: 0.9492 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.0004452/0.3864, allocations: 385.2 kB / 0.5657 GB, free: 0.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.39e-05/0.3864, allocations: 12.03 kB / 0.5657 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.3864, allocations: 12.84 kB / 0.5657 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3867, allocations: 155.3 kB / 0.5659 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3867, allocations: 4.375 kB / 0.5659 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3867, allocations: 4.125 kB / 0.5659 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.3868, allocations: 61.61 kB / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3868, allocations: 0 / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.3868, allocations: 0 / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-06/0.3868, allocations: 4 kB / 0.5659 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.09e-05/0.3869, allocations: 15.98 kB / 0.566 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.3872, allocations: 279.8 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3874, allocations: 62.61 kB / 0.5663 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.3874, allocations: 16.86 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.3874, allocations: 4 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.3876, allocations: 67.39 kB / 0.5664 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3876, allocations: 0 / 0.5664 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004367/0.388, allocations: 181.3 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.388, allocations: 55.41 kB / 0.5666 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.3883, allocations: 278.8 kB / 0.5669 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3883, allocations: 25.7 kB / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.3884, allocations: 120.1 kB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.3884, allocations: 19.8 kB / 0.567 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.3885, allocations: 25.7 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3886, allocations: 334.8 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.3887, allocations: 19.98 kB / 0.5674 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/0.3887, allocations: 45.58 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3888, allocations: 57.7 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3888, allocations: 0 / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.389, allocations: 113.5 kB / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.389, allocations: 7.938 kB / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.389, allocations: 4 kB / 0.5676 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.3891, allocations: 8.016 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.3891, allocations: 15.98 kB / 0.5676 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.3891, allocations: 0 / 0.5676 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.3892, allocations: 11.94 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3892, allocations: 4 kB / 0.5676 GB, free: 14.38 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.0001086/0.3893, allocations: 137.8 kB / 0.5678 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.3893, allocations: 11.91 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.3896, allocations: 115.1 kB / 0.5679 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3896, allocations: 8 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3896, allocations: 0 / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3896, allocations: 3.938 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.39, allocations: 374.4 kB / 0.5683 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.39, allocations: 0 / 0.5683 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.39, allocations: 8 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.39, allocations: 0 / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.39, allocations: 11.92 kB / 0.5683 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.39, allocations: 4.406 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.39, allocations: 0 / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.3903, allocations: 212.2 kB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.3903, allocations: 11.91 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.3903, allocations: 7.938 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.3904, allocations: 7.984 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.3904, allocations: 12 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.3904, allocations: 0 / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.3906, allocations: 204.6 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3906, allocations: 0 / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.3909, allocations: 23.94 kB / 0.5687 GB, free: 13.16 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 (8): * Single equations (assignments): 6 * 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.001636/0.3925, allocations: 472.8 kB / 0.5692 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.3927, allocations: 55.97 kB / 0.5692 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3927, allocations: 0 / 0.5692 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.3927, allocations: 27.92 kB / 0.5693 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3931, allocations: 28.36 kB / 0.5693 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.3936, allocations: 329.4 kB / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3939, allocations: 0.7145 MB / 0.5703 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.394, allocations: 19.44 kB / 0.5703 GB, free: 11.65 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.394, allocations: 0 / 0.5703 GB, free: 11.65 MB / 414.1 MB Notification: Performance of Templates: time 0.003987/0.398, allocations: 2.119 MB / 0.5724 GB, free: 9.539 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.086982718901709]