Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.004252/0.004252, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004385/0.004385, allocations: 163.5 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.032/1.032, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2698/0.2698, allocations: 34.87 MB / 296.6 MB, free: 0.5742 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 378.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.469e-05, allocations: 2.312 kB / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002205/0.00223, allocations: 1.714 MB / 380.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003431, allocations: 0.9931 MB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.003501, allocations: 4 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.003804, allocations: 91.47 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.00411, allocations: 115.5 kB / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.004472, allocations: 79.59 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.00463, allocations: 111.6 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.004672, allocations: 8.219 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.128e-05/0.004763, allocations: 67.75 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.12e-05/0.004854, allocations: 47.88 kB / 382.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.00487, allocations: 4 kB / 382.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.937e-05/0.00494, allocations: 35.92 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.004997, allocations: 15.94 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.005037, allocations: 23.91 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.005204, allocations: 103.6 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.005207, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005208, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005213, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004486/0.005661, allocations: 447.8 kB / 382.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.005702, allocations: 12.02 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.005751, allocations: 12.89 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.005919, allocations: 148.4 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.005937, allocations: 384 / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.00595, allocations: 4.375 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.006069, allocations: 62.94 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.006075, allocations: 192 / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006086, allocations: 4.375 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.006094, allocations: 3.938 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.204e-05/0.006126, allocations: 8 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.006276, allocations: 156.6 kB / 383.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.832e-05/0.006374, allocations: 47.11 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.006401, allocations: 11.69 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.006411, allocations: 0 / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.852e-05/0.00651, allocations: 73 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.21e-07/0.006511, allocations: 0 / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001875/0.006698, allocations: 85.56 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.006741, allocations: 59.34 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.006879, allocations: 242.7 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.006895, allocations: 29.64 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.006953, allocations: 158.9 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.006982, allocations: 15.84 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.007013, allocations: 27.36 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.007132, allocations: 0.4962 MB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.007155, allocations: 12 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.007184, allocations: 27.36 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.007232, allocations: 39.31 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007234, allocations: 0 / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.666e-05/0.007321, allocations: 77.53 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.007334, allocations: 8 kB / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.007339, allocations: 0 / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.00735, allocations: 0 / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/0.007415, allocations: 15.92 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.00742, allocations: 4.031 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.007448, allocations: 4 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.007453, allocations: 4 kB / 384.5 MB, free: 12.45 MB / 362.7 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 (7): * Single equations (assignments): 7 * 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 6.716e-05/0.00752, allocations: 156.6 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.007534, allocations: 15.91 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.007654, allocations: 95.06 kB / 384.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.007656, allocations: 0 / 384.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.00766, allocations: 3.938 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.007665, allocations: 3.984 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.373e-05/0.007759, allocations: 148.6 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.00776, allocations: 4 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.772e-05/0.007778, allocations: 4 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.007779, allocations: 0 / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.007787, allocations: 3.984 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.007788, allocations: 0 / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.00779, allocations: 4 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.00789, allocations: 120.2 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.007906, allocations: 11.94 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.007924, allocations: 4 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.007945, allocations: 0 / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.007978, allocations: 11.94 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.007991, allocations: 3.984 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.028e-05/0.008071, allocations: 185 kB / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008071, allocations: 0 / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.008217, allocations: 23.94 kB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008462/0.009063, allocations: 376.4 kB / 385.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.009181, allocations: 43.61 kB / 385.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009183, allocations: 0 / 385.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/0.009217, allocations: 23.69 kB / 385.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.009421, allocations: 32.17 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.009769, allocations: 208.8 kB / 385.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.649e-05/0.009806, allocations: 71.41 kB / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.009837, allocations: 16.47 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.009867, allocations: 16.5 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009867, allocations: 0 / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of Templates: time 0.003338/0.01321, allocations: 1.65 MB / 387.7 MB, free: 9.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1806404020171613]