Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001387/0.001387, allocations: 72.22 kB / 21.24 MB, free: 412 kB / 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.001549/0.001549, allocations: 167.4 kB / 24.5 MB, free: 3.461 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.598/1.598, allocations: 177.2 MB / 204.9 MB, free: 8.941 MB / 190.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.2228/0.2228, allocations: 34.28 MB / 295.5 MB, free: 14.6 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 72.06 kB / 443.2 MB, free: 6.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3571, allocations: 66 MB / 0.4973 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002731/0.3598, allocations: 1.69 MB / 0.4989 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3612, allocations: 0.9434 MB / 0.4999 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.3613, allocations: 3.031 kB / 0.4999 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.3616, allocations: 63.88 kB / 0.4999 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.3619, allocations: 112 kB / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.3621, allocations: 76.44 kB / 0.5001 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3622, allocations: 103.1 kB / 0.5002 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.3623, allocations: 7.562 kB / 0.5002 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.3624, allocations: 48.22 kB / 0.5002 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3625, allocations: 54.34 kB / 0.5003 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3625, allocations: 3.406 kB / 0.5003 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.3626, allocations: 30.45 kB / 0.5003 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.3626, allocations: 17.8 kB / 0.5004 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.3627, allocations: 33.8 kB / 0.5004 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.3628, allocations: 106 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3628, allocations: 0 / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3628, allocations: 0 / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3628, allocations: 0 / 0.5005 GB, free: 27.84 MB / 446.1 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.0005291/0.3634, allocations: 335.9 kB / 0.5008 GB, free: 27.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3634, allocations: 9.625 kB / 0.5008 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.3635, allocations: 11.97 kB / 0.5008 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.3637, allocations: 153.2 kB / 0.501 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3637, allocations: 384 / 0.501 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.3638, allocations: 15.31 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3639, allocations: 45.97 kB / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3639, allocations: 0 / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3639, allocations: 4 kB / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3639, allocations: 7.094 kB / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.364, allocations: 20.78 kB / 0.5011 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.3642, allocations: 132.3 kB / 0.5012 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.3643, allocations: 55.88 kB / 0.5012 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.3644, allocations: 18.47 kB / 0.5013 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3644, allocations: 4 kB / 0.5013 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.3645, allocations: 66.27 kB / 0.5013 GB, free: 27.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3645, allocations: 0 / 0.5013 GB, free: 27.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.000261/0.3648, allocations: 102.6 kB / 0.5014 GB, free: 27.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.3648, allocations: 52.59 kB / 0.5015 GB, free: 26.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.365, allocations: 196 kB / 0.5017 GB, free: 26.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.365, allocations: 32.77 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.365, allocations: 98.86 kB / 0.5018 GB, free: 26.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.3651, allocations: 18.47 kB / 0.5018 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.3651, allocations: 24.16 kB / 0.5018 GB, free: 26.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.3652, allocations: 321.5 kB / 0.5021 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.3652, allocations: 13.91 kB / 0.5021 GB, free: 26.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.269e-05/0.3652, allocations: 37.22 kB / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.186e-05/0.3653, allocations: 48.17 kB / 0.5022 GB, free: 26.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3653, allocations: 0 / 0.5022 GB, free: 26.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000137/0.3655, allocations: 88.44 kB / 0.5023 GB, free: 26.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3655, allocations: 7.188 kB / 0.5023 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3655, allocations: 7.531 kB / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3655, allocations: 0 / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.3656, allocations: 13.22 kB / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3656, allocations: 160 / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.3656, allocations: 10.59 kB / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3657, allocations: 3.094 kB / 0.5024 GB, free: 26.21 MB / 446.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 (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 7.224e-05/0.3657, allocations: 121 kB / 0.5025 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.3658, allocations: 14.27 kB / 0.5025 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.366, allocations: 100.2 kB / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.366, allocations: 3.375 kB / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.366, allocations: 7.344 kB / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.366, allocations: 0 / 0.5026 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.824e-05/0.3661, allocations: 132 kB / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3661, allocations: 0 / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.3661, allocations: 10.59 kB / 0.5027 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3661, allocations: 7.094 kB / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3661, allocations: 3.938 kB / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3661, allocations: 0 / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3661, allocations: 0 / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3663, allocations: 110.2 kB / 0.5028 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.3663, allocations: 26.34 kB / 0.5029 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3663, allocations: 7.281 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.627e-05/0.3664, allocations: 0 / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.3664, allocations: 6.484 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3664, allocations: 3.031 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.752e-05/0.3665, allocations: 152.4 kB / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3665, allocations: 0 / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.3667, allocations: 22.83 kB / 0.503 GB, free: 25.65 MB / 446.1 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.001603/0.3683, allocations: 439 kB / 0.5035 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.3685, allocations: 55.34 kB / 0.5035 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3685, allocations: 0 / 0.5035 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.3686, allocations: 16.44 kB / 0.5035 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.3688, allocations: 35.67 kB / 0.5036 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.3692, allocations: 213 kB / 0.5038 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.14e-05/0.3692, allocations: 90.17 kB / 0.5039 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.3693, allocations: 14.69 kB / 0.5039 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.3693, allocations: 22.27 kB / 0.5039 GB, free: 25.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3693, allocations: 0 / 0.5039 GB, free: 25.16 MB / 446.1 MB Notification: Performance of Templates: time 0.004769/0.3741, allocations: 1.618 MB / 0.5055 GB, free: 24.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.15442981896922]