Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001304/0.001304, 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.001373/0.001373, 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.457/1.457, 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.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.2147/0.2147, allocations: 34.26 MB / 295.5 MB, free: 14.61 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 71.89 kB / 443.2 MB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3654, allocations: 66 MB / 0.4973 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003431/0.3689, allocations: 1.791 MB / 0.499 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.371, allocations: 1.74 MB / 0.5007 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.14e-05/0.3711, allocations: 3.125 kB / 0.5007 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.3714, allocations: 58.39 kB / 0.5008 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.3717, allocations: 139.4 kB / 0.5009 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.3719, allocations: 105.8 kB / 0.501 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.3721, allocations: 207.8 kB / 0.5012 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.3722, allocations: 8.781 kB / 0.5012 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3723, allocations: 88.66 kB / 0.5013 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.3725, allocations: 78.81 kB / 0.5014 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.3725, allocations: 9.438 kB / 0.5014 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.3727, allocations: 109.4 kB / 0.5015 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.3727, allocations: 40.2 kB / 0.5015 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.525e-05/0.3728, allocations: 50.39 kB / 0.5016 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.3731, allocations: 223.7 kB / 0.5018 GB, free: 26.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3731, allocations: 0 / 0.5018 GB, free: 26.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3731, allocations: 0 / 0.5018 GB, free: 26.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3731, allocations: 4 kB / 0.5018 GB, free: 26.9 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.0006191/0.3737, allocations: 433.3 kB / 0.5022 GB, free: 26.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3737, allocations: 9.594 kB / 0.5022 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.3738, allocations: 18.53 kB / 0.5022 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.3741, allocations: 184.9 kB / 0.5024 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3741, allocations: 7.312 kB / 0.5024 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3741, allocations: 4.125 kB / 0.5024 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.3743, allocations: 158.4 kB / 0.5026 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3743, allocations: 1.25 kB / 0.5026 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3743, allocations: 5.406 kB / 0.5026 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3743, allocations: 0 / 0.5026 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3744, allocations: 33.2 kB / 0.5026 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.3746, allocations: 168.9 kB / 0.5028 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.3748, allocations: 108.6 kB / 0.5029 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.3749, allocations: 36.55 kB / 0.5029 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3749, allocations: 0 / 0.5029 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.3751, allocations: 118.6 kB / 0.503 GB, free: 25.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.3751, allocations: 0 / 0.503 GB, free: 25.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004256/0.3756, allocations: 181.2 kB / 0.5032 GB, free: 25.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.3756, allocations: 135 kB / 0.5033 GB, free: 25.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.3759, allocations: 246.2 kB / 0.5036 GB, free: 25.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3759, allocations: 25.7 kB / 0.5036 GB, free: 25.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.3759, allocations: 116.3 kB / 0.5037 GB, free: 25.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.376, allocations: 30.58 kB / 0.5037 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.376, allocations: 37.33 kB / 0.5038 GB, free: 25.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.3761, allocations: 329 kB / 0.5041 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.3762, allocations: 32.91 kB / 0.5041 GB, free: 24.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3763, allocations: 128.7 kB / 0.5042 GB, free: 24.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3765, allocations: 90.27 kB / 0.5043 GB, free: 24.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3765, allocations: 4 kB / 0.5043 GB, free: 24.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002387/0.3767, allocations: 148.5 kB / 0.5045 GB, free: 24.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3767, allocations: 6.203 kB / 0.5045 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3767, allocations: 3.375 kB / 0.5045 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3767, allocations: 0 / 0.5045 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3769, allocations: 26.83 kB / 0.5045 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3769, allocations: 0 / 0.5045 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.3769, allocations: 17.86 kB / 0.5045 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3769, allocations: 3.406 kB / 0.5045 GB, free: 24.66 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 9.428e-05/0.377, allocations: 131.2 kB / 0.5046 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.3771, allocations: 21.22 kB / 0.5047 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.3774, allocations: 173.5 kB / 0.5048 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.3774, allocations: 2.688 kB / 0.5048 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3774, allocations: 0 / 0.5048 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3774, allocations: 0 / 0.5048 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3775, allocations: 168.1 kB / 0.505 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3775, allocations: 0 / 0.505 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.3776, allocations: 8.188 kB / 0.505 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3776, allocations: 6.781 kB / 0.505 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3776, allocations: 3.938 kB / 0.505 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3776, allocations: 6.297 kB / 0.505 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3776, allocations: 8.188 kB / 0.505 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.3779, allocations: 187 kB / 0.5052 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.3779, allocations: 24.91 kB / 0.5052 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.378, allocations: 7.031 kB / 0.5052 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.378, allocations: 3.031 kB / 0.5052 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.3781, allocations: 16.94 kB / 0.5053 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3781, allocations: 2.938 kB / 0.5053 GB, free: 24.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.3782, allocations: 180.8 kB / 0.5054 GB, free: 24.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3782, allocations: 0 / 0.5054 GB, free: 24.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.3785, allocations: 59.25 kB / 0.5055 GB, free: 24.01 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001975/0.3805, allocations: 0.5334 MB / 0.506 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.3808, allocations: 87.73 kB / 0.5061 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3808, allocations: 0 / 0.5061 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3809, allocations: 39.36 kB / 0.5061 GB, free: 23.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3813, allocations: 56.14 kB / 0.5062 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.3818, allocations: 295.4 kB / 0.5065 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.3819, allocations: 111.5 kB / 0.5066 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.244e-05/0.382, allocations: 40.17 kB / 0.5066 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.3821, allocations: 31.94 kB / 0.5066 GB, free: 23.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3821, allocations: 0 / 0.5066 GB, free: 23.41 MB / 446.1 MB Notification: Performance of Templates: time 0.007884/0.39, allocations: 3.409 MB / 0.51 GB, free: 22.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.98420207190793]