Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.0007811/0.0007811, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007525/0.0007525, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.8466/0.8466, allocations: 158.6 MB / 185.7 MB, free: 3.023 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.1229/0.1229, allocations: 32.38 MB / 270.4 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.304e-05, allocations: 5.656 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002001/0.002024, allocations: 1.657 MB / 409.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.002865, allocations: 0.7568 MB / 410.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.002925, allocations: 0 / 410.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.003212, allocations: 59.8 kB / 410.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.003395, allocations: 71.66 kB / 410.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.003548, allocations: 79.72 kB / 410.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.003688, allocations: 107.6 kB / 410.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.003725, allocations: 0 / 410.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.003806, allocations: 59.81 kB / 411 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.003892, allocations: 43.89 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.003909, allocations: 4 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.003972, allocations: 35.88 kB / 411 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.004024, allocations: 23.91 kB / 411.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.004058, allocations: 11.94 kB / 411.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.004215, allocations: 103.6 kB / 411.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004217, allocations: 0 / 411.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.004218, allocations: 0 / 411.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004223, allocations: 3.938 kB / 411.2 MB, free: 9.914 MB / 346.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.0003936/0.004616, allocations: 325.7 kB / 411.5 MB, free: 9.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.004651, allocations: 12.02 kB / 411.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.004688, allocations: 12.89 kB / 411.5 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.004855, allocations: 151.8 kB / 411.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.004866, allocations: 384 / 411.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.004876, allocations: 4.375 kB / 411.7 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.004981, allocations: 50.17 kB / 411.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004989, allocations: 3.938 kB / 411.7 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.004997, allocations: 0 / 411.7 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.005002, allocations: 4 kB / 411.7 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.288e-05/0.005055, allocations: 15.98 kB / 411.8 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.005183, allocations: 133.3 kB / 411.9 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.005287, allocations: 50.62 kB / 411.9 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.005319, allocations: 20.84 kB / 412 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.005332, allocations: 4 kB / 412 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.005438, allocations: 67.33 kB / 412 MB, free: 8.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.005439, allocations: 0 / 412 MB, free: 8.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001891/0.005628, allocations: 101.5 kB / 412.1 MB, free: 8.859 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.005657, allocations: 51.41 kB / 412.2 MB, free: 8.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.005775, allocations: 194.2 kB / 412.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.005787, allocations: 29.7 kB / 412.4 MB, free: 8.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.005827, allocations: 100.1 kB / 412.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.005855, allocations: 15.89 kB / 412.5 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.005881, allocations: 21.72 kB / 412.5 MB, free: 8.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.005959, allocations: 322.8 kB / 412.8 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.005987, allocations: 12 kB / 412.9 MB, free: 8.082 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.006037, allocations: 29.7 kB / 412.9 MB, free: 8.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.858e-05/0.006096, allocations: 45.7 kB / 412.9 MB, free: 7.996 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006097, allocations: 0 / 412.9 MB, free: 7.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.236e-05/0.00619, allocations: 89.88 kB / 413 MB, free: 7.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.006202, allocations: 6.656 kB / 413 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.006207, allocations: 3.938 kB / 413 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.006217, allocations: 7.938 kB / 413 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.00627, allocations: 12 kB / 413 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.006274, allocations: 0 / 413 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.006304, allocations: 11.94 kB / 413.1 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.006309, allocations: 3.984 kB / 413.1 MB, free: 7.859 MB / 346.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.64e-05/0.006376, allocations: 129.8 kB / 413.2 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-06/0.006385, allocations: 11.98 kB / 413.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.006512, allocations: 98.06 kB / 413.3 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006513, allocations: 0 / 413.3 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.006516, allocations: 3.938 kB / 413.3 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006519, allocations: 0 / 413.3 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.866e-05/0.006598, allocations: 129.3 kB / 413.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.006598, allocations: 0 / 413.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.006613, allocations: 4 kB / 413.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.006614, allocations: 0 / 413.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.006622, allocations: 7.984 kB / 413.4 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006624, allocations: 7.938 kB / 413.4 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.006624, allocations: 0 / 413.4 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.602e-05/0.00672, allocations: 117 kB / 413.6 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.006734, allocations: 11.89 kB / 413.6 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.006746, allocations: 0 / 413.6 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.006766, allocations: 11.94 kB / 413.6 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.006793, allocations: 3.984 kB / 413.6 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.006803, allocations: 4 kB / 413.6 MB, free: 7.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.777e-05/0.006881, allocations: 147.2 kB / 413.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006881, allocations: 0 / 413.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000142/0.007023, allocations: 16 kB / 413.7 MB, free: 7.105 MB / 346.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.0006231/0.007646, allocations: 440.3 kB / 414.2 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.007754, allocations: 47.91 kB / 414.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.007755, allocations: 0 / 414.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.007787, allocations: 16 kB / 414.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.007961, allocations: 35.89 kB / 414.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.008268, allocations: 234.9 kB / 414.5 MB, free: 6.359 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.493e-05/0.008323, allocations: 91.23 kB / 414.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.008345, allocations: 12.5 kB / 414.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.008345, allocations: 0 / 414.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of Templates: time 0.00227/0.01062, allocations: 1.715 MB / 416.3 MB, free: 4.52 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.387191046960652]