Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.0008431/0.0008431, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0008026/0.0008026, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8615/0.8615, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1298/0.1298, allocations: 32.36 MB / 270.3 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 408.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.119e-05, allocations: 2.281 kB / 408.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.00194/0.001961, allocations: 1.64 MB / 409.8 MB, free: 8 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000854/0.002815, allocations: 0.7687 MB / 410.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.002878, allocations: 3.938 kB / 410.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.003148, allocations: 43.83 kB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.003324, allocations: 63.69 kB / 410.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.003468, allocations: 83.7 kB / 410.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.003603, allocations: 103.6 kB / 410.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.003643, allocations: 12 kB / 410.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.003717, allocations: 43.84 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.003785, allocations: 23.92 kB / 411 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.003801, allocations: 3.984 kB / 411 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.003863, allocations: 39.86 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.003915, allocations: 23.92 kB / 411 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.003949, allocations: 19.88 kB / 411 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.004101, allocations: 111.6 kB / 411.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004103, allocations: 3.938 kB / 411.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004103, allocations: 0 / 411.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.004108, allocations: 0 / 411.2 MB, free: 14.66 MB / 394.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.000408/0.004516, allocations: 357.5 kB / 411.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.004549, allocations: 12.03 kB / 411.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.004586, allocations: 12.84 kB / 411.5 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.004757, allocations: 161.2 kB / 411.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.004769, allocations: 4.375 kB / 411.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.004779, allocations: 384 / 411.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.004889, allocations: 54.17 kB / 411.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.004897, allocations: 3.938 kB / 411.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.004905, allocations: 0 / 411.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.00491, allocations: 8 kB / 411.8 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.723e-05/0.004957, allocations: 15.98 kB / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.0051, allocations: 141.3 kB / 411.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.005205, allocations: 50.61 kB / 412 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.005237, allocations: 20.84 kB / 412 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.005249, allocations: 3.938 kB / 412 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.005349, allocations: 67.39 kB / 412.1 MB, free: 13.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.00535, allocations: 0 / 412.1 MB, free: 13.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001888/0.005539, allocations: 105.5 kB / 412.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.005573, allocations: 59.39 kB / 412.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.005735, allocations: 259.5 kB / 412.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.005748, allocations: 33.64 kB / 412.5 MB, free: 13.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.005795, allocations: 112.1 kB / 412.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.005821, allocations: 15.88 kB / 412.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.005849, allocations: 17.72 kB / 412.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.005929, allocations: 326.8 kB / 413 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.00596, allocations: 15.98 kB / 413 MB, free: 12.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.137e-05/0.005991, allocations: 29.7 kB / 413 MB, free: 12.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.255e-05/0.006054, allocations: 49.7 kB / 413.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006056, allocations: 0 / 413.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.061e-05/0.006147, allocations: 85.53 kB / 413.1 MB, free: 12.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.006158, allocations: 4 kB / 413.1 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.006163, allocations: 7.938 kB / 413.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.006174, allocations: 0 / 413.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.006229, allocations: 15.98 kB / 413.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.006235, allocations: 0 / 413.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.006265, allocations: 7.953 kB / 413.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.00627, allocations: 4.031 kB / 413.2 MB, free: 12.45 MB / 394.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.938e-05/0.006339, allocations: 137.8 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.006352, allocations: 15.91 kB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.006482, allocations: 107 kB / 413.4 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.006486, allocations: 8 kB / 413.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.006489, allocations: 0 / 413.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006493, allocations: 0 / 413.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.413e-05/0.006577, allocations: 141.3 kB / 413.6 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006578, allocations: 0 / 413.6 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.006591, allocations: 4 kB / 413.6 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.006595, allocations: 11.98 kB / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.006601, allocations: 0 / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.006603, allocations: 3.938 kB / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.006605, allocations: 3.938 kB / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.73e-05/0.006702, allocations: 121 kB / 413.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.006717, allocations: 15.91 kB / 413.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.00673, allocations: 0 / 413.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.006749, allocations: 7.938 kB / 413.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.006777, allocations: 7.984 kB / 413.7 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.006788, allocations: 4 kB / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.006893, allocations: 199.3 kB / 413.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006893, allocations: 0 / 413.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.007038, allocations: 27.92 kB / 414 MB, free: 11.58 MB / 394.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.0006144/0.007652, allocations: 437.6 kB / 414.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.007759, allocations: 43.92 kB / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007761, allocations: 0 / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.007795, allocations: 19.98 kB / 414.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.007971, allocations: 31.81 kB / 414.5 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.008331, allocations: 303.3 kB / 414.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.06e-05/0.008392, allocations: 96.8 kB / 414.9 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.008417, allocations: 20.5 kB / 414.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of SimCode: time 3.9e-07/0.008418, allocations: 0 / 414.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of Templates: time 0.002366/0.01078, allocations: 1.887 MB / 416.8 MB, free: 8.734 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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: 4.603227359242737]