Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001315/0.001315, allocations: 73.88 kB / 21.24 MB, free: 0.5547 MB / 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.001499/0.001499, allocations: 158.1 kB / 24.5 MB, free: 3.715 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.491/1.491, allocations: 177.2 MB / 204.9 MB, free: 9 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.2017/0.2017, allocations: 32.8 MB / 294.1 MB, free: 8 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [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.002179/0.002179, allocations: 59.91 kB / 440.6 MB, free: 9.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3522, allocations: 65.45 MB / 0.4942 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002692/0.3549, allocations: 1.905 MB / 0.4961 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3564, allocations: 1.012 MB / 0.4971 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.3564, allocations: 6.938 kB / 0.4971 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.3567, allocations: 43.31 kB / 0.4971 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.357, allocations: 102.6 kB / 0.4972 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.3572, allocations: 101.5 kB / 0.4973 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.3574, allocations: 147.9 kB / 0.4974 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3575, allocations: 15.69 kB / 0.4975 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.729e-05/0.3575, allocations: 64.09 kB / 0.4975 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.146e-05/0.3576, allocations: 45.92 kB / 0.4976 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.3576, allocations: 5.906 kB / 0.4976 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.541e-05/0.3577, allocations: 50.5 kB / 0.4976 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.3578, allocations: 32.58 kB / 0.4976 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.3578, allocations: 44.34 kB / 0.4977 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.358, allocations: 145.2 kB / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.358, allocations: 0 / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.358, allocations: 3.938 kB / 0.4978 GB, free: 29.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3581, allocations: 0 / 0.4978 GB, free: 29.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005422/0.3586, allocations: 420.9 kB / 0.4982 GB, free: 28.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.3586, allocations: 9.375 kB / 0.4982 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.3587, allocations: 18.47 kB / 0.4983 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.3589, allocations: 176.3 kB / 0.4984 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3589, allocations: 3.656 kB / 0.4984 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.3589, allocations: 18.59 kB / 0.4984 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3591, allocations: 131.1 kB / 0.4986 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3592, allocations: 3.938 kB / 0.4986 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3592, allocations: 4 kB / 0.4986 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3592, allocations: 3.312 kB / 0.4986 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3593, allocations: 48.3 kB / 0.4986 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.3597, allocations: 451.5 kB / 0.4991 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.36, allocations: 79.77 kB / 0.4991 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.3601, allocations: 42.55 kB / 0.4992 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.3601, allocations: 4 kB / 0.4992 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.3603, allocations: 109.2 kB / 0.4993 GB, free: 27.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3603, allocations: 0 / 0.4993 GB, free: 27.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003638/0.3606, allocations: 148.9 kB / 0.4994 GB, free: 27.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.3607, allocations: 51.41 kB / 0.4995 GB, free: 27.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3608, allocations: 213.9 kB / 0.4997 GB, free: 27.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.3608, allocations: 29.7 kB / 0.4997 GB, free: 27.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.3609, allocations: 110 kB / 0.4998 GB, free: 27.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.3609, allocations: 45.7 kB / 0.4999 GB, free: 27.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.3609, allocations: 27.66 kB / 0.4999 GB, free: 27.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.361, allocations: 328.9 kB / 0.5002 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.3611, allocations: 30.89 kB / 0.5002 GB, free: 26.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.49e-05/0.3611, allocations: 73.23 kB / 0.5003 GB, free: 26.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3613, allocations: 96.61 kB / 0.5004 GB, free: 26.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3613, allocations: 4 kB / 0.5004 GB, free: 26.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002329/0.3615, allocations: 142.4 kB / 0.5005 GB, free: 26.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3615, allocations: 3.094 kB / 0.5005 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3616, allocations: 3.125 kB / 0.5005 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3616, allocations: 2.906 kB / 0.5005 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.3617, allocations: 25.02 kB / 0.5006 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3617, allocations: 3.938 kB / 0.5006 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.3617, allocations: 21.62 kB / 0.5006 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3618, allocations: 3.094 kB / 0.5006 GB, free: 26.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.456e-05/0.3618, allocations: 132.6 kB / 0.5007 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.3619, allocations: 17.31 kB / 0.5007 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.3621, allocations: 128.2 kB / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3621, allocations: 3.281 kB / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3621, allocations: 3.938 kB / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3621, allocations: 0 / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.916e-05/0.3622, allocations: 148.5 kB / 0.501 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3622, allocations: 7.984 kB / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-05/0.3623, allocations: 17.02 kB / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3623, allocations: 3.188 kB / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3623, allocations: 0 / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3623, allocations: 0 / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3623, allocations: 0 / 0.501 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.3627, allocations: 199.3 kB / 0.5012 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.3627, allocations: 11.25 kB / 0.5012 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3627, allocations: 11.09 kB / 0.5012 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.3628, allocations: 10.67 kB / 0.5012 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.3628, allocations: 6.672 kB / 0.5013 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3628, allocations: 7.125 kB / 0.5013 GB, free: 26.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.072e-05/0.3629, allocations: 152.9 kB / 0.5014 GB, free: 26.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3629, allocations: 0 / 0.5014 GB, free: 26.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.3631, allocations: 30.38 kB / 0.5014 GB, free: 26.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00155/0.3647, allocations: 428.4 kB / 0.5018 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.3649, allocations: 92.95 kB / 0.5019 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3649, allocations: 3.156 kB / 0.5019 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.365, allocations: 33.59 kB / 0.502 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.3653, allocations: 47.7 kB / 0.502 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.3658, allocations: 279.5 kB / 0.5023 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.395e-05/0.3658, allocations: 112.2 kB / 0.5024 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.773e-05/0.3659, allocations: 22.19 kB / 0.5024 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.3659, allocations: 18.16 kB / 0.5024 GB, free: 25.61 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.3659, allocations: 0 / 0.5024 GB, free: 25.61 MB / 446.1 MB Notification: Performance of Templates: time 0.004924/0.3709, allocations: 2.027 MB / 0.5044 GB, free: 25.35 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.028333110967651]