Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001275/0.001275, allocations: 73.8 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.00143/0.00143, allocations: 159.5 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.488/1.488, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.2087/0.2087, allocations: 32.81 MB / 294.1 MB, free: 20 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [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.002118/0.002118, allocations: 59.91 kB / 440.6 MB, free: 9.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3469, allocations: 65.45 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003712/0.3506, allocations: 1.792 MB / 0.496 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.3525, allocations: 1.041 MB / 0.497 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3526, allocations: 3.312 kB / 0.497 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.353, allocations: 298.8 kB / 0.4973 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.3535, allocations: 258.5 kB / 0.4975 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.3537, allocations: 113.2 kB / 0.4976 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.3539, allocations: 263.6 kB / 0.4979 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.354, allocations: 9.094 kB / 0.4979 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3541, allocations: 129.2 kB / 0.498 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.3543, allocations: 211 kB / 0.4982 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.3544, allocations: 6.344 kB / 0.4982 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3545, allocations: 47.45 kB / 0.4982 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.3546, allocations: 138.6 kB / 0.4984 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.3547, allocations: 110.3 kB / 0.4985 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.3552, allocations: 375.2 kB / 0.4988 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3552, allocations: 0 / 0.4988 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3552, allocations: 4 kB / 0.4988 GB, free: 28.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.3552, allocations: 3.938 kB / 0.4989 GB, free: 28.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001025/0.3562, allocations: 0.6751 MB / 0.4995 GB, free: 28.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3563, allocations: 9.469 kB / 0.4995 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3564, allocations: 50.48 kB / 0.4996 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.357, allocations: 389.8 kB / 0.4999 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.357, allocations: 3.812 kB / 0.4999 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.357, allocations: 8.062 kB / 0.4999 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3572, allocations: 88.16 kB / 0.5 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3572, allocations: 0 / 0.5 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3572, allocations: 3.188 kB / 0.5 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3572, allocations: 3.422 kB / 0.5 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.3573, allocations: 37.73 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.3576, allocations: 302.9 kB / 0.5004 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.3578, allocations: 100 kB / 0.5005 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.3579, allocations: 48.44 kB / 0.5005 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3579, allocations: 0 / 0.5005 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.3581, allocations: 111 kB / 0.5006 GB, free: 27.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.3581, allocations: 0 / 0.5006 GB, free: 27.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004487/0.3586, allocations: 215.8 kB / 0.5008 GB, free: 27.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.3586, allocations: 81.11 kB / 0.5009 GB, free: 27.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/0.3595, allocations: 1.027 MB / 0.5019 GB, free: 27.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3595, allocations: 36.83 kB / 0.5019 GB, free: 26.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3596, allocations: 234.6 kB / 0.5022 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.3597, allocations: 33.66 kB / 0.5022 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.3597, allocations: 30.75 kB / 0.5022 GB, free: 26.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.3598, allocations: 371.2 kB / 0.5026 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/0.3599, allocations: 27.34 kB / 0.5026 GB, free: 26.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.3599, allocations: 61.66 kB / 0.5027 GB, free: 26.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3601, allocations: 91.58 kB / 0.5027 GB, free: 26.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3601, allocations: 3.062 kB / 0.5027 GB, free: 26.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002586/0.3604, allocations: 179.6 kB / 0.5029 GB, free: 26.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3604, allocations: 6.156 kB / 0.5029 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3604, allocations: 0 / 0.5029 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3604, allocations: 3.188 kB / 0.5029 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3605, allocations: 27.27 kB / 0.503 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3605, allocations: 7.281 kB / 0.503 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.471e-05/0.3606, allocations: 11.02 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.3606, allocations: 3.062 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001633/0.3608, allocations: 227.1 kB / 0.5032 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.3608, allocations: 54.55 kB / 0.5032 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.3612, allocations: 209.1 kB / 0.5034 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3612, allocations: 2.938 kB / 0.5034 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3612, allocations: 3.938 kB / 0.5034 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3612, allocations: 2.938 kB / 0.5035 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3614, allocations: 261.1 kB / 0.5037 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3614, allocations: 3.031 kB / 0.5037 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.3614, allocations: 10.38 kB / 0.5037 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3614, allocations: 7.062 kB / 0.5037 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3614, allocations: 11.52 kB / 0.5037 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3614, allocations: 3.219 kB / 0.5037 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3615, allocations: 0 / 0.5037 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.3617, allocations: 217.9 kB / 0.5039 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3618, allocations: 68.02 kB / 0.504 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.3619, allocations: 10.47 kB / 0.504 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.362, allocations: 2.969 kB / 0.504 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.362, allocations: 6.234 kB / 0.504 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.362, allocations: 13.44 kB / 0.504 GB, free: 25.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005904/0.3626, allocations: 0.7689 MB / 0.5048 GB, free: 25.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3626, allocations: 4 kB / 0.5048 GB, free: 25.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.3629, allocations: 47.28 kB / 0.5048 GB, free: 25.27 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001569/0.3645, allocations: 446.4 kB / 0.5053 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.3647, allocations: 85.78 kB / 0.5053 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3647, allocations: 0 / 0.5053 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3648, allocations: 42.91 kB / 0.5054 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3652, allocations: 82.2 kB / 0.5055 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/0.3662, allocations: 0.8763 MB / 0.5063 GB, free: 24.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.3664, allocations: 237.5 kB / 0.5065 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.7e-05/0.3665, allocations: 54.89 kB / 0.5066 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.3665, allocations: 30.23 kB / 0.5066 GB, free: 24.49 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3665, allocations: 4 kB / 0.5066 GB, free: 24.48 MB / 446.1 MB Notification: Performance of Templates: time 0.008228/0.3748, allocations: 3.977 MB / 0.5105 GB, free: 23.95 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.996854507015087]