Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001585/0.001585, allocations: 71.75 kB / 21.24 MB, free: 400 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.001773/0.001773, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.479/1.479, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2063/0.2063, allocations: 32.81 MB / 294.1 MB, free: 68 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.89 kB / 440.6 MB, free: 9.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3553, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004434/0.3597, allocations: 1.722 MB / 0.4959 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.3612, allocations: 0.9695 MB / 0.4968 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.3613, allocations: 0 / 0.4968 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.3615, allocations: 46.78 kB / 0.4969 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.3618, allocations: 93.89 kB / 0.497 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.3621, allocations: 76.48 kB / 0.497 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.3623, allocations: 105.9 kB / 0.4971 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3624, allocations: 14.86 kB / 0.4972 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.3625, allocations: 42.91 kB / 0.4972 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.3626, allocations: 36.06 kB / 0.4972 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3626, allocations: 3.125 kB / 0.4972 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3627, allocations: 43.48 kB / 0.4973 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.3628, allocations: 20.69 kB / 0.4973 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.3628, allocations: 26.12 kB / 0.4973 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.363, allocations: 129.7 kB / 0.4974 GB, free: 29.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.363, allocations: 3.344 kB / 0.4974 GB, free: 29.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.363, allocations: 0 / 0.4974 GB, free: 29.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.363, allocations: 0 / 0.4974 GB, free: 29.28 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004709/0.3635, allocations: 343.8 kB / 0.4978 GB, free: 28.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3635, allocations: 9.906 kB / 0.4978 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.3636, allocations: 14.47 kB / 0.4978 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.3639, allocations: 149.7 kB / 0.4979 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3639, allocations: 384 / 0.4979 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3639, allocations: 11.28 kB / 0.498 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3641, allocations: 60.28 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3641, allocations: 0 / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3641, allocations: 3.938 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3641, allocations: 2.938 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.3642, allocations: 21.19 kB / 0.498 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.3646, allocations: 233.8 kB / 0.4983 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.3648, allocations: 53.5 kB / 0.4983 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.3648, allocations: 24.95 kB / 0.4983 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3649, allocations: 4 kB / 0.4983 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.365, allocations: 69.97 kB / 0.4984 GB, free: 28.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.365, allocations: 0 / 0.4984 GB, free: 28.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005056/0.3655, allocations: 190.6 kB / 0.4986 GB, free: 28.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.3655, allocations: 51.41 kB / 0.4986 GB, free: 28.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3657, allocations: 202 kB / 0.4988 GB, free: 28.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3658, allocations: 25.7 kB / 0.4989 GB, free: 28.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.3658, allocations: 109.8 kB / 0.499 GB, free: 27.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.3658, allocations: 26.27 kB / 0.499 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.3659, allocations: 24.06 kB / 0.499 GB, free: 27.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.366, allocations: 332.1 kB / 0.4993 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.366, allocations: 16.5 kB / 0.4993 GB, free: 27.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.323e-05/0.3661, allocations: 40.02 kB / 0.4994 GB, free: 27.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3663, allocations: 60.72 kB / 0.4994 GB, free: 27.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3663, allocations: 0 / 0.4994 GB, free: 27.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002707/0.3666, allocations: 111.7 kB / 0.4995 GB, free: 27.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3666, allocations: 9.266 kB / 0.4996 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3666, allocations: 3.984 kB / 0.4996 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3666, allocations: 7.156 kB / 0.4996 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3667, allocations: 16.62 kB / 0.4996 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3667, allocations: 0 / 0.4996 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.3668, allocations: 6.25 kB / 0.4996 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3668, allocations: 2.906 kB / 0.4996 GB, free: 27.48 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 (10): * Single equations (assignments): 10 * 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 9.109e-05/0.3669, allocations: 131.8 kB / 0.4997 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.367, allocations: 14.38 kB / 0.4997 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.3672, allocations: 121 kB / 0.4998 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3673, allocations: 0 / 0.4998 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3673, allocations: 7.125 kB / 0.4998 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3673, allocations: 3.422 kB / 0.4999 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.3677, allocations: 348.1 kB / 0.5002 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3677, allocations: 0 / 0.5002 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.3678, allocations: 16.77 kB / 0.5002 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.3678, allocations: 0 / 0.5002 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3678, allocations: 7.312 kB / 0.5002 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3678, allocations: 384 / 0.5002 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3678, allocations: 3.938 kB / 0.5002 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.3681, allocations: 213.5 kB / 0.5004 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.3681, allocations: 14.14 kB / 0.5004 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.3682, allocations: 8 kB / 0.5004 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3683, allocations: 6.5 kB / 0.5004 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.3683, allocations: 10.52 kB / 0.5005 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3683, allocations: 3.219 kB / 0.5005 GB, free: 26.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.3685, allocations: 159.5 kB / 0.5006 GB, free: 26.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3685, allocations: 0 / 0.5006 GB, free: 26.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004796/0.369, allocations: 22.7 kB / 0.5006 GB, free: 26.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.002509/0.3715, allocations: 493.7 kB / 0.5011 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3717, allocations: 61.89 kB / 0.5012 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3717, allocations: 0 / 0.5012 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3718, allocations: 34.17 kB / 0.5012 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.3724, allocations: 41.53 kB / 0.5012 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.3729, allocations: 235.8 kB / 0.5015 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.593e-05/0.373, allocations: 95.02 kB / 0.5015 GB, free: 26.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.797e-05/0.3731, allocations: 14.73 kB / 0.5016 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.3732, allocations: 21.3 kB / 0.5016 GB, free: 26.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3732, allocations: 4 kB / 0.5016 GB, free: 26.15 MB / 446.1 MB Notification: Performance of Templates: time 0.006445/0.3796, allocations: 1.832 MB / 0.5034 GB, free: 25.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.970235483953729]