Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 107.2 kB / 17.08 MB, free: 5.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 198.6 kB / 20.02 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.1 MB / 227.9 MB, free: 4.352 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4646/0.4646, allocations: 43.51 MB / 320.8 MB, free: 9.035 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 71.89 kB / 450.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4186, allocations: 57.78 MB / 0.4965 GB, free: 19.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003056/0.4217, allocations: 1.697 MB / 0.4981 GB, free: 18.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.4232, allocations: 0.7987 MB / 0.4989 GB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.4234, allocations: 1.062 kB / 0.4989 GB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.4239, allocations: 45.83 kB / 0.4989 GB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.4242, allocations: 53.52 kB / 0.499 GB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.4246, allocations: 97.14 kB / 0.4991 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.4249, allocations: 97.23 kB / 0.4992 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.4251, allocations: 14.81 kB / 0.4992 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4252, allocations: 35.39 kB / 0.4992 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.4253, allocations: 36.45 kB / 0.4993 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.4254, allocations: 7.656 kB / 0.4993 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.4255, allocations: 40.06 kB / 0.4993 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.4256, allocations: 17.08 kB / 0.4993 GB, free: 17.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.4257, allocations: 41.06 kB / 0.4994 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.426, allocations: 111.4 kB / 0.4995 GB, free: 17.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.426, allocations: 0 / 0.4995 GB, free: 17.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.426, allocations: 0 / 0.4995 GB, free: 17.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.426, allocations: 1.406 kB / 0.4995 GB, free: 17.35 MB / 382.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.0007959/0.4268, allocations: 411.2 kB / 0.4999 GB, free: 16.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.562e-05/0.4269, allocations: 16.7 kB / 0.4999 GB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.4e-05/0.427, allocations: 17.33 kB / 0.4999 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.4275, allocations: 215.2 kB / 0.5001 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.4275, allocations: 6.656 kB / 0.5001 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.4276, allocations: 10.55 kB / 0.5001 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.4278, allocations: 53.73 kB / 0.5002 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4278, allocations: 0 / 0.5002 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.4278, allocations: 0.7812 kB / 0.5002 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4278, allocations: 1.156 kB / 0.5002 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.4279, allocations: 22.05 kB / 0.5002 GB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.4283, allocations: 285.7 kB / 0.5005 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.4285, allocations: 55 kB / 0.5005 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.4286, allocations: 24.91 kB / 0.5005 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.4286, allocations: 5.156 kB / 0.5005 GB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.4288, allocations: 69.12 kB / 0.5006 GB, free: 16.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4288, allocations: 3.938 kB / 0.5006 GB, free: 16.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006989/0.4295, allocations: 173.5 kB / 0.5008 GB, free: 16.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.4296, allocations: 52.47 kB / 0.5008 GB, free: 16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.4298, allocations: 189.9 kB / 0.501 GB, free: 15.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.4298, allocations: 26.95 kB / 0.501 GB, free: 15.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.4299, allocations: 101 kB / 0.5011 GB, free: 15.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.43, allocations: 27.69 kB / 0.5012 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.43, allocations: 24.56 kB / 0.5012 GB, free: 15.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4302, allocations: 326.1 kB / 0.5015 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.805e-05/0.4302, allocations: 23.05 kB / 0.5015 GB, free: 15.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.4303, allocations: 39.45 kB / 0.5015 GB, free: 15.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.4305, allocations: 59.39 kB / 0.5016 GB, free: 15.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4305, allocations: 3.938 kB / 0.5016 GB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002047/0.4307, allocations: 103 kB / 0.5017 GB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.4307, allocations: 6.062 kB / 0.5017 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4307, allocations: 0 / 0.5017 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.4307, allocations: 1.469 kB / 0.5017 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.4309, allocations: 20.89 kB / 0.5017 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.4309, allocations: 1.188 kB / 0.5017 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.4309, allocations: 9.5 kB / 0.5017 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.431, allocations: 3.688 kB / 0.5017 GB, free: 15.19 MB / 382.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 0.0001277/0.4311, allocations: 131 kB / 0.5019 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.4311, allocations: 8.953 kB / 0.5019 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.4312, allocations: 12.91 kB / 0.5019 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4312, allocations: 1.125 kB / 0.5019 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.4312, allocations: 5.047 kB / 0.5019 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4312, allocations: 3.938 kB / 0.5019 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.4317, allocations: 392.8 kB / 0.5023 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4317, allocations: 1.062 kB / 0.5023 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.4318, allocations: 7.094 kB / 0.5023 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4318, allocations: 1.156 kB / 0.5023 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.4318, allocations: 6.156 kB / 0.5023 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4318, allocations: 1.438 kB / 0.5023 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4318, allocations: 0 / 0.5023 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.4321, allocations: 212.2 kB / 0.5025 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.4322, allocations: 92.45 kB / 0.5026 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.4322, allocations: 6.375 kB / 0.5026 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.4323, allocations: 5.594 kB / 0.5026 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.4323, allocations: 7.078 kB / 0.5026 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.4324, allocations: 3.156 kB / 0.5026 GB, free: 14.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.4325, allocations: 145.2 kB / 0.5027 GB, free: 14.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4325, allocations: 1.344 kB / 0.5027 GB, free: 14.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.4328, allocations: 27.72 kB / 0.5028 GB, free: 14.23 MB / 382.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 (8): * Single equations (assignments): 6 * 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.001765/0.4346, allocations: 487.3 kB / 0.5032 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.4348, allocations: 57.84 kB / 0.5033 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4348, allocations: 1.219 kB / 0.5033 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.145e-05/0.4349, allocations: 33.14 kB / 0.5033 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.4353, allocations: 25 kB / 0.5033 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.4358, allocations: 220.7 kB / 0.5036 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.436, allocations: 0.7047 MB / 0.5042 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.353e-05/0.436, allocations: 13.81 kB / 0.5043 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.4361, allocations: 19.48 kB / 0.5043 GB, free: 12.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4361, allocations: 0 / 0.5043 GB, free: 12.88 MB / 382.1 MB Notification: Performance of Templates: time 0.005135/0.4412, allocations: 1.692 MB / 0.5059 GB, free: 12.02 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.687576093710959]