Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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: 115.8 kB / 20.43 MB, free: 1.457 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.001692/0.001692, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2624/0.2624, allocations: 46.93 MB / 360.8 MB, free: 4.254 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 59.91 kB / 0.4967 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4219, allocations: 66.04 MB / 0.5612 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003838/0.4258, allocations: 1.763 MB / 0.5629 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.4278, allocations: 1.049 MB / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.428, allocations: 7.938 kB / 0.564 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.4284, allocations: 103.7 kB / 0.5641 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.4289, allocations: 127.5 kB / 0.5642 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.4291, allocations: 75.73 kB / 0.5643 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.4294, allocations: 135.6 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.4295, allocations: 15.97 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.4296, allocations: 59.77 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.4298, allocations: 71.73 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.4298, allocations: 4 kB / 0.5645 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.43, allocations: 59.97 kB / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.43, allocations: 27.86 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.4301, allocations: 47.61 kB / 0.5647 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.4304, allocations: 149.7 kB / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.4304, allocations: 4 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4304, allocations: 0 / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4304, allocations: 0 / 0.5648 GB, free: 0.668 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000772/0.4312, allocations: 381.3 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4312, allocations: 12.03 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.4313, allocations: 12.84 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.4317, allocations: 174.3 kB / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4317, allocations: 384 / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.4317, allocations: 12.08 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.4319, allocations: 57.67 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.4319, allocations: 4 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.432, allocations: 4 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.432, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.432, allocations: 27.95 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.4326, allocations: 283.8 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.4328, allocations: 54.55 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.4e-05/0.4329, allocations: 20.98 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.4329, allocations: 4 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.4331, allocations: 79.25 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 3.767e-06/0.4331, allocations: 3.984 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008215/0.4339, allocations: 249.2 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.434, allocations: 55.34 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.4343, allocations: 246.8 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4343, allocations: 33.7 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4344, allocations: 108.1 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.4345, allocations: 39.69 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.4345, allocations: 25.72 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4347, allocations: 330.8 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.4348, allocations: 27.98 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.4349, allocations: 49.7 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.435, allocations: 81.69 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.435, allocations: 0 / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002384/0.4352, allocations: 129.5 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4353, allocations: 7.938 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4353, allocations: 0 / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4353, allocations: 0 / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.4354, allocations: 28.02 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.4354, allocations: 3.938 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.4354, allocations: 4 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4354, allocations: 3.984 kB / 0.5672 GB, free: 13.96 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 (13): * Single equations (assignments): 13 * 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.0001384/0.4356, allocations: 141.7 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.4356, allocations: 19.89 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.4359, allocations: 147.6 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4359, allocations: 0 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4359, allocations: 3.938 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.436, allocations: 7.984 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.4366, allocations: 427.1 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4366, allocations: 0 / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.4366, allocations: 15.98 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4366, allocations: 4 kB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4366, allocations: 0 / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4366, allocations: 4 kB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4366, allocations: 4.062 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.4369, allocations: 237 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.437, allocations: 19.91 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.437, allocations: 4 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.4371, allocations: 4 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.4371, allocations: 15.98 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.4371, allocations: 4 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.4373, allocations: 192.2 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4373, allocations: 0 / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.4376, allocations: 27.94 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002079/0.4397, allocations: 0.5134 MB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.4399, allocations: 71.92 kB / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4399, allocations: 0 / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.44, allocations: 39.92 kB / 0.5691 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.4404, allocations: 39.84 kB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/0.4411, allocations: 296.8 kB / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.4415, allocations: 0.7198 MB / 0.5701 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.967e-05/0.4416, allocations: 20.62 kB / 0.5701 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.4416, allocations: 23.42 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4416, allocations: 0 / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of Templates: time 0.006027/0.4477, allocations: 2.065 MB / 0.5722 GB, free: 8.996 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.727636591065675]