Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001414/0.001414, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001578/0.001578, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2413/0.2413, 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 55.91 kB / 0.4967 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3445, allocations: 66.04 MB / 0.5612 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003325/0.3478, allocations: 1.874 MB / 0.563 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3497, allocations: 1.076 MB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.3498, allocations: 4 kB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.3502, allocations: 163.5 kB / 0.5642 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.3507, allocations: 179.3 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.3509, allocations: 123.6 kB / 0.5645 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.3512, allocations: 243.3 kB / 0.5647 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3513, allocations: 21.94 kB / 0.5647 GB, free: 436 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3515, allocations: 115.5 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.3517, allocations: 139.5 kB / 0.565 GB, free: 180 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.3517, allocations: 8 kB / 0.565 GB, free: 172 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3519, allocations: 63.98 kB / 0.5651 GB, free: 108 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.3519, allocations: 63.69 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.101e-05/0.352, allocations: 63.62 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.3523, allocations: 233.2 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3523, allocations: 4 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3524, allocations: 0 / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3524, allocations: 0 / 0.5654 GB, free: 15.75 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007242/0.3531, allocations: 476.6 kB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3531, allocations: 8.031 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.3532, allocations: 28.75 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.3535, allocations: 214.5 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3535, allocations: 8.375 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.3536, allocations: 16.11 kB / 0.5661 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.3538, allocations: 111.3 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3538, allocations: 0 / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3539, allocations: 4 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3539, allocations: 4 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.354, allocations: 51.89 kB / 0.5663 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.3546, allocations: 404.5 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.3549, allocations: 125.2 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.355, allocations: 41.83 kB / 0.5668 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.3551, allocations: 7.938 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.3553, allocations: 129 kB / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.3553, allocations: 0 / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.3566, allocations: 0.4972 MB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.3567, allocations: 89.05 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.3571, allocations: 384.5 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.3571, allocations: 33.7 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3573, allocations: 144.5 kB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.3573, allocations: 75.39 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.3574, allocations: 41.7 kB / 0.5682 GB, free: 12.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3576, allocations: 346.7 kB / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3577, allocations: 55.98 kB / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.3579, allocations: 99.27 kB / 0.5687 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.3582, allocations: 163.6 kB / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3582, allocations: 0 / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004127/0.3586, allocations: 241.3 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3586, allocations: 4 kB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3586, allocations: 7.938 kB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3586, allocations: 0 / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.3588, allocations: 43.92 kB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3588, allocations: 64 / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/0.3588, allocations: 15.98 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3589, allocations: 12 kB / 0.5691 GB, free: 11.7 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001562/0.359, allocations: 158.3 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.3591, allocations: 35.8 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005278/0.3596, allocations: 275.9 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.3596, allocations: 4 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3596, allocations: 0 / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3596, allocations: 3.984 kB / 0.5696 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.3605, allocations: 0.6684 MB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3605, allocations: 7.938 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.3606, allocations: 31.92 kB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3606, allocations: 4 kB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.3606, allocations: 11.98 kB / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3606, allocations: 192 / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3606, allocations: 4 kB / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.3612, allocations: 455.4 kB / 0.5707 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.3612, allocations: 19.86 kB / 0.5707 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.3613, allocations: 8 kB / 0.5707 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3614, allocations: 11.98 kB / 0.5708 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.3615, allocations: 23.84 kB / 0.5708 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3615, allocations: 12 kB / 0.5708 GB, free: 9.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.3618, allocations: 287 kB / 0.5711 GB, free: 9.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3618, allocations: 0 / 0.5711 GB, free: 9.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.3622, allocations: 51.89 kB / 0.5711 GB, free: 9.566 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002311/0.3645, allocations: 0.5603 MB / 0.5717 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.3649, allocations: 155.8 kB / 0.5718 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3649, allocations: 0 / 0.5718 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.3651, allocations: 79.84 kB / 0.5719 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.3656, allocations: 67.52 kB / 0.5719 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008712/0.3665, allocations: 0.5162 MB / 0.5725 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.3666, allocations: 153.5 kB / 0.5726 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.3668, allocations: 45.91 kB / 0.5726 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.3668, allocations: 27.44 kB / 0.5727 GB, free: 8.152 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3668, allocations: 0 / 0.5727 GB, free: 8.152 MB / 414.1 MB Notification: Performance of Templates: time 0.008364/0.3752, allocations: 3.486 MB / 0.5761 GB, free: 4.719 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.302053112536669]