Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001807/0.001807, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.00229/0.00229, allocations: 207.4 kB / 23.73 MB, free: 4.379 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 / 257.5 MB, free: 7.797 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.2379/0.2379, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.89 kB / 0.4967 GB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3733, allocations: 66.04 MB / 0.5612 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004116/0.3774, allocations: 1.874 MB / 0.563 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.3797, allocations: 1.069 MB / 0.564 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3798, allocations: 4 kB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004943/0.3803, allocations: 159.5 kB / 0.5642 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.3808, allocations: 191.2 kB / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.3811, allocations: 115.7 kB / 0.5645 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004005/0.3815, allocations: 251.3 kB / 0.5647 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3816, allocations: 21.95 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.3818, allocations: 107.5 kB / 0.5648 GB, free: 384 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.3821, allocations: 151.5 kB / 0.565 GB, free: 232 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.3821, allocations: 8 kB / 0.565 GB, free: 224 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.3822, allocations: 67.95 kB / 0.5651 GB, free: 156 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.3824, allocations: 51.78 kB / 0.5651 GB, free: 104 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3825, allocations: 67.47 kB / 0.5652 GB, free: 36 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.3829, allocations: 229.3 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3829, allocations: 0 / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3829, allocations: 0 / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3829, allocations: 0 / 0.5654 GB, free: 15.82 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.001053/0.3839, allocations: 484.5 kB / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.163e-05/0.384, allocations: 12.03 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3841, allocations: 32.73 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.3847, allocations: 214.5 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3847, allocations: 384 / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.3847, allocations: 16.12 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.3851, allocations: 110.4 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.3851, allocations: 0 / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.3851, allocations: 4 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.3851, allocations: 3.984 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.3853, allocations: 59.89 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007539/0.3861, allocations: 404.4 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.3866, allocations: 117.2 kB / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.3867, allocations: 49.77 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3867, allocations: 0 / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003059/0.387, allocations: 136.9 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.387, allocations: 0 / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001583/0.3886, allocations: 0.5017 MB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.3887, allocations: 85.11 kB / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.3892, allocations: 388.5 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3892, allocations: 25.7 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3893, allocations: 152.5 kB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.3894, allocations: 75.36 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.3895, allocations: 45.7 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3897, allocations: 338.8 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3898, allocations: 67.91 kB / 0.5686 GB, free: 12.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.3899, allocations: 99.28 kB / 0.5687 GB, free: 12.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.3902, allocations: 159.3 kB / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3903, allocations: 0 / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004303/0.3907, allocations: 233.3 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3907, allocations: 4 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3907, allocations: 8 kB / 0.5691 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.3907, allocations: 4 kB / 0.5691 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.3909, allocations: 47.91 kB / 0.5691 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3909, allocations: 4 kB / 0.5691 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.391, allocations: 8 kB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.391, allocations: 8 kB / 0.5691 GB, free: 11.75 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.0001813/0.3912, allocations: 158.3 kB / 0.5693 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.3912, allocations: 27.81 kB / 0.5693 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.3918, allocations: 287.5 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3919, allocations: 4 kB / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3919, allocations: 0 / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3919, allocations: 4 kB / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3929, allocations: 0.6684 MB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3929, allocations: 96 / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.393, allocations: 39.92 kB / 0.5703 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.393, allocations: 0 / 0.5703 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.393, allocations: 12.12 kB / 0.5703 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.393, allocations: 7.938 kB / 0.5703 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.393, allocations: 3.938 kB / 0.5703 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.3936, allocations: 439.4 kB / 0.5707 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.3937, allocations: 27.84 kB / 0.5707 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.3937, allocations: 4 kB / 0.5707 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3939, allocations: 12 kB / 0.5708 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.3939, allocations: 27.84 kB / 0.5708 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.394, allocations: 11.98 kB / 0.5708 GB, free: 9.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003045/0.3943, allocations: 287 kB / 0.5711 GB, free: 9.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3943, allocations: 0 / 0.5711 GB, free: 9.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003724/0.3946, allocations: 59.88 kB / 0.5711 GB, free: 9.609 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.002191/0.3968, allocations: 0.5419 MB / 0.5717 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.3972, allocations: 163.7 kB / 0.5718 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3972, allocations: 0 / 0.5718 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.3974, allocations: 80.09 kB / 0.5719 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.398, allocations: 75.27 kB / 0.572 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/0.3989, allocations: 0.5085 MB / 0.5725 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.3991, allocations: 157.6 kB / 0.5726 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.3992, allocations: 33.92 kB / 0.5726 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.3993, allocations: 31.42 kB / 0.5727 GB, free: 8.207 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3993, allocations: 384 / 0.5727 GB, free: 8.207 MB / 414.1 MB Notification: Performance of Templates: time 0.00791/0.4072, allocations: 3.537 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.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.30014737509191]