Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001338/0.001338, allocations: 70.42 kB / 21.24 MB, free: 0.5391 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.001493/0.001493, allocations: 158.5 kB / 24.5 MB, free: 3.711 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.467/1.467, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.23/0.23, allocations: 32.8 MB / 294.1 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 179] 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") [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.002093/0.002093, allocations: 71.89 kB / 440.6 MB, free: 9.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4178, allocations: 65.44 MB / 0.4942 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003797/0.4216, allocations: 1.721 MB / 0.4959 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.424, allocations: 0.9674 MB / 0.4968 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.123e-05/0.4241, allocations: 3.938 kB / 0.4968 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.4245, allocations: 46.66 kB / 0.4969 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.4249, allocations: 97.05 kB / 0.497 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.4252, allocations: 80.41 kB / 0.4971 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.4253, allocations: 102.3 kB / 0.4972 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.4254, allocations: 14.73 kB / 0.4972 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.4255, allocations: 42.08 kB / 0.4972 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.4256, allocations: 31.91 kB / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.4257, allocations: 5.969 kB / 0.4972 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.4258, allocations: 42.86 kB / 0.4973 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.4259, allocations: 17.5 kB / 0.4973 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.4259, allocations: 32.69 kB / 0.4973 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.4262, allocations: 124.1 kB / 0.4974 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4262, allocations: 0 / 0.4974 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4262, allocations: 0 / 0.4974 GB, free: 29.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.4262, allocations: 7.438 kB / 0.4975 GB, free: 29.34 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.000592/0.4268, allocations: 362.6 kB / 0.4978 GB, free: 29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4268, allocations: 9.281 kB / 0.4978 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.4269, allocations: 8.016 kB / 0.4978 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.4272, allocations: 151.7 kB / 0.498 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4272, allocations: 7.156 kB / 0.498 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.4272, allocations: 10.56 kB / 0.498 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.4274, allocations: 52.5 kB / 0.498 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4274, allocations: 0 / 0.498 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.4274, allocations: 3.984 kB / 0.498 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4274, allocations: 6.844 kB / 0.498 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.4276, allocations: 26.97 kB / 0.4981 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.428, allocations: 239.1 kB / 0.4983 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.4282, allocations: 54.66 kB / 0.4983 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.851e-05/0.4283, allocations: 21.64 kB / 0.4984 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.4283, allocations: 0 / 0.4984 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.4285, allocations: 77.33 kB / 0.4984 GB, free: 28.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.4285, allocations: 0 / 0.4984 GB, free: 28.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008022/0.4293, allocations: 186.4 kB / 0.4986 GB, free: 28.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4294, allocations: 54.28 kB / 0.4987 GB, free: 28.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.4296, allocations: 220 kB / 0.4989 GB, free: 28.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.4296, allocations: 29.7 kB / 0.4989 GB, free: 28.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.4297, allocations: 105.3 kB / 0.499 GB, free: 28.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.4297, allocations: 22.12 kB / 0.499 GB, free: 28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.4298, allocations: 27.03 kB / 0.4991 GB, free: 27.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.4299, allocations: 329 kB / 0.4994 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.43, allocations: 19.97 kB / 0.4994 GB, free: 27.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.4301, allocations: 39.91 kB / 0.4994 GB, free: 27.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.4303, allocations: 66.19 kB / 0.4995 GB, free: 27.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4303, allocations: 0 / 0.4995 GB, free: 27.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003031/0.4306, allocations: 103.6 kB / 0.4996 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4306, allocations: 6.281 kB / 0.4996 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4306, allocations: 0 / 0.4996 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4306, allocations: 3.25 kB / 0.4996 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.4308, allocations: 20.03 kB / 0.4996 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4308, allocations: 0 / 0.4996 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.4309, allocations: 11.22 kB / 0.4996 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.4309, allocations: 3.406 kB / 0.4996 GB, free: 27.51 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 0.0001198/0.431, allocations: 131.7 kB / 0.4998 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.431, allocations: 17.88 kB / 0.4998 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.4314, allocations: 120.7 kB / 0.4999 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4314, allocations: 7.281 kB / 0.4999 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4314, allocations: 0 / 0.4999 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.4314, allocations: 0 / 0.4999 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.432, allocations: 355.2 kB / 0.5002 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.432, allocations: 4.031 kB / 0.5002 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.4321, allocations: 9.281 kB / 0.5002 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4321, allocations: 6.703 kB / 0.5003 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4321, allocations: 3.938 kB / 0.5003 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4321, allocations: 384 / 0.5003 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4321, allocations: 7.281 kB / 0.5003 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.4325, allocations: 216.8 kB / 0.5005 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.4325, allocations: 7.141 kB / 0.5005 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.4325, allocations: 7.188 kB / 0.5005 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.4327, allocations: 7 kB / 0.5005 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.4327, allocations: 14.55 kB / 0.5005 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.4327, allocations: 6.422 kB / 0.5005 GB, free: 26.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.4329, allocations: 156.1 kB / 0.5007 GB, free: 26.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4329, allocations: 0 / 0.5007 GB, free: 26.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004972/0.4334, allocations: 26.36 kB / 0.5007 GB, free: 26.71 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.002554/0.436, allocations: 491.7 kB / 0.5012 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.4363, allocations: 61.33 kB / 0.5012 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4363, allocations: 0 / 0.5012 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.4364, allocations: 26.98 kB / 0.5012 GB, free: 26.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.4369, allocations: 38.97 kB / 0.5013 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.4375, allocations: 253.1 kB / 0.5015 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.4377, allocations: 99.66 kB / 0.5016 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.025e-05/0.4377, allocations: 17.92 kB / 0.5016 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.4378, allocations: 17.97 kB / 0.5016 GB, free: 26.18 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4378, allocations: 0 / 0.5016 GB, free: 26.18 MB / 446.1 MB Notification: Performance of Templates: time 0.006869/0.4446, allocations: 1.843 MB / 0.5034 GB, free: 25.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.064934852998704]