Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001364/0.001364, allocations: 73.72 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.00155/0.00155, allocations: 160.8 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.449/1.449, 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.2033/0.2033, allocations: 32.8 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [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.002892/0.002892, allocations: 59.91 kB / 440.6 MB, free: 9.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3702, allocations: 65.44 MB / 0.4942 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002739/0.373, allocations: 1.733 MB / 0.4959 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3744, allocations: 0.9596 MB / 0.4968 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.3745, allocations: 6.875 kB / 0.4968 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.3748, allocations: 45.91 kB / 0.4969 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.3751, allocations: 103.4 kB / 0.497 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.3752, allocations: 72.09 kB / 0.4971 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3754, allocations: 111.4 kB / 0.4972 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.3755, allocations: 3.469 kB / 0.4972 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.3756, allocations: 49.03 kB / 0.4972 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.3756, allocations: 32.39 kB / 0.4972 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3757, allocations: 2.969 kB / 0.4972 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/0.3757, allocations: 42.25 kB / 0.4973 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.3758, allocations: 20.66 kB / 0.4973 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.3758, allocations: 32.97 kB / 0.4973 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.376, allocations: 127.7 kB / 0.4975 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.376, allocations: 0 / 0.4975 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.376, allocations: 0 / 0.4975 GB, free: 29.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.376, allocations: 0 / 0.4975 GB, free: 29.36 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.0004597/0.3765, allocations: 356.1 kB / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3765, allocations: 8.781 kB / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.3766, allocations: 14.53 kB / 0.4978 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.3768, allocations: 148.2 kB / 0.498 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3768, allocations: 4.375 kB / 0.498 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3768, allocations: 18.94 kB / 0.498 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.377, allocations: 56.55 kB / 0.498 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.377, allocations: 3.344 kB / 0.498 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.377, allocations: 0 / 0.498 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.377, allocations: 0 / 0.498 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.3771, allocations: 21.05 kB / 0.4981 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.3773, allocations: 242.3 kB / 0.4983 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.3775, allocations: 58.66 kB / 0.4983 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.3776, allocations: 18.62 kB / 0.4984 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.3776, allocations: 7.469 kB / 0.4984 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.3777, allocations: 70.83 kB / 0.4984 GB, free: 28.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3777, allocations: 0 / 0.4984 GB, free: 28.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005215/0.3782, allocations: 180.7 kB / 0.4986 GB, free: 28.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.3783, allocations: 55.41 kB / 0.4987 GB, free: 28.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.3784, allocations: 226.3 kB / 0.4989 GB, free: 28.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.3784, allocations: 25.7 kB / 0.4989 GB, free: 28.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.3785, allocations: 109.7 kB / 0.499 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3785, allocations: 19.2 kB / 0.499 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3785, allocations: 27.58 kB / 0.4991 GB, free: 28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.3786, allocations: 329.2 kB / 0.4994 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.3786, allocations: 24.06 kB / 0.4994 GB, free: 27.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.3787, allocations: 36.75 kB / 0.4994 GB, free: 27.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.3788, allocations: 58.58 kB / 0.4995 GB, free: 27.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3788, allocations: 0 / 0.4995 GB, free: 27.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001628/0.3789, allocations: 112.8 kB / 0.4996 GB, free: 27.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.379, allocations: 6.531 kB / 0.4996 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.379, allocations: 7.172 kB / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.379, allocations: 0 / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.3791, allocations: 12.34 kB / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3791, allocations: 3.094 kB / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.3791, allocations: 7.234 kB / 0.4996 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3791, allocations: 3.312 kB / 0.4996 GB, free: 27.54 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 7.38e-05/0.3792, allocations: 134.7 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.3792, allocations: 11.19 kB / 0.4998 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.3795, allocations: 131.7 kB / 0.4999 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3795, allocations: 0 / 0.4999 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3795, allocations: 7.938 kB / 0.4999 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3795, allocations: 0 / 0.4999 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.3798, allocations: 357.7 kB / 0.5002 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3798, allocations: 3.406 kB / 0.5002 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.3798, allocations: 10.34 kB / 0.5003 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3798, allocations: 3.188 kB / 0.5003 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3799, allocations: 0 / 0.5003 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3799, allocations: 3.516 kB / 0.5003 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3799, allocations: 7.469 kB / 0.5003 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.38, allocations: 217.5 kB / 0.5005 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.3801, allocations: 10.69 kB / 0.5005 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.3801, allocations: 7.188 kB / 0.5005 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.3802, allocations: 0 / 0.5005 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.3802, allocations: 17.83 kB / 0.5005 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3802, allocations: 3.312 kB / 0.5005 GB, free: 26.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.652e-05/0.3803, allocations: 160.1 kB / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3803, allocations: 0 / 0.5007 GB, free: 26.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.3806, allocations: 16.22 kB / 0.5007 GB, free: 26.73 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.00179/0.3824, allocations: 0.4985 MB / 0.5012 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.3825, allocations: 57.27 kB / 0.5012 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3825, allocations: 0 / 0.5012 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.811e-05/0.3826, allocations: 34.34 kB / 0.5013 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3829, allocations: 34.41 kB / 0.5013 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.3833, allocations: 246.2 kB / 0.5015 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.965e-05/0.3834, allocations: 100.2 kB / 0.5016 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.427e-05/0.3835, allocations: 18.03 kB / 0.5016 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.3835, allocations: 14.81 kB / 0.5016 GB, free: 26.21 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3835, allocations: 4 kB / 0.5017 GB, free: 26.2 MB / 446.1 MB Notification: Performance of Templates: time 0.005115/0.3886, allocations: 1.843 MB / 0.5035 GB, free: 25.95 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.9858220879687]