Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001458/0.001458, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001616/0.001616, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2334/0.2334, allocations: 46.96 MB / 361.6 MB, free: 4.121 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 67.89 kB / 0.4974 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3767, allocations: 66.04 MB / 0.5619 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003743/0.3805, allocations: 1.788 MB / 0.5636 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.3825, allocations: 1.042 MB / 0.5646 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.3826, allocations: 3.938 kB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.3832, allocations: 307.3 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005219/0.3837, allocations: 263.2 kB / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.384, allocations: 107.6 kB / 0.5653 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.3843, allocations: 271.2 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.323e-05/0.3844, allocations: 9.812 kB / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.3846, allocations: 131.5 kB / 0.5657 GB, free: 244 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.3849, allocations: 219.4 kB / 0.5659 GB, free: 24 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.3849, allocations: 8 kB / 0.5659 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.385, allocations: 47.98 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.3852, allocations: 139.6 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.3853, allocations: 107.1 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.3858, allocations: 396.6 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3858, allocations: 0 / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3858, allocations: 0 / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3858, allocations: 0 / 0.5666 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.001083/0.3869, allocations: 0.6864 MB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3869, allocations: 8.031 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.387, allocations: 48.61 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.3877, allocations: 398.5 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3877, allocations: 384 / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3877, allocations: 12.12 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.3879, allocations: 87.36 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3879, allocations: 0 / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.388, allocations: 0 / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.388, allocations: 0 / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.3881, allocations: 39.91 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.3885, allocations: 314 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.3888, allocations: 101.2 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.3889, allocations: 41.7 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3889, allocations: 7.875 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.3892, allocations: 113 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 4.759e-06/0.3892, allocations: 3.984 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005398/0.3897, allocations: 209.2 kB / 0.5685 GB, free: 13.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.3898, allocations: 77.11 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.3911, allocations: 1.062 MB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3911, allocations: 33.7 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.3913, allocations: 236.1 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.3914, allocations: 31.73 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.3914, allocations: 37.64 kB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.3917, allocations: 370.8 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.269e-05/0.3917, allocations: 35.92 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.3919, allocations: 59.41 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.3921, allocations: 95.84 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3921, allocations: 8 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003279/0.3924, allocations: 181.2 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3924, allocations: 4 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3924, allocations: 4 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3924, allocations: 0 / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3926, allocations: 23.92 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3926, allocations: 4 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.441e-05/0.3927, allocations: 7.938 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3927, allocations: 8.062 kB / 0.5707 GB, free: 10.81 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.0002415/0.3929, allocations: 221.8 kB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.393, allocations: 59.56 kB / 0.571 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.3934, allocations: 201.8 kB / 0.5712 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3934, allocations: 0 / 0.5712 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3934, allocations: 4 kB / 0.5712 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3934, allocations: 3.984 kB / 0.5712 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.3937, allocations: 261.2 kB / 0.5715 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3937, allocations: 4 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.3938, allocations: 11.98 kB / 0.5715 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3938, allocations: 11.88 kB / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3938, allocations: 4.25 kB / 0.5715 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3938, allocations: 0 / 0.5715 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3938, allocations: 4 kB / 0.5715 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.3941, allocations: 225.5 kB / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.3943, allocations: 67.53 kB / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.3943, allocations: 4 kB / 0.5718 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3944, allocations: 11.98 kB / 0.5718 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.3945, allocations: 7.984 kB / 0.5718 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3945, allocations: 8 kB / 0.5718 GB, free: 9.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000882/0.3954, allocations: 0.7917 MB / 0.5726 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3954, allocations: 0 / 0.5726 GB, free: 8.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3956, allocations: 44 kB / 0.5726 GB, free: 8.82 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.001662/0.3973, allocations: 449.4 kB / 0.573 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.3976, allocations: 87.91 kB / 0.5731 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3976, allocations: 0 / 0.5731 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3977, allocations: 48.03 kB / 0.5732 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.3981, allocations: 81.91 kB / 0.5733 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.3995, allocations: 0.9379 MB / 0.5742 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3998, allocations: 245.7 kB / 0.5744 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.3999, allocations: 23.44 kB / 0.5744 GB, free: 7.098 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3999, allocations: 0 / 0.5744 GB, free: 7.098 MB / 414.1 MB Notification: Performance of Templates: time 0.009173/0.4091, allocations: 5.347 MB / 0.5797 GB, free: 1.754 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.205003232229501]