Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.00165/0.00165, allocations: 69.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.001875/0.001875, allocations: 161.9 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.484/1.484, 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.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.2102/0.2102, allocations: 34.27 MB / 295.5 MB, free: 14.55 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 75.88 kB / 443.2 MB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4048, allocations: 66 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002933/0.4078, allocations: 1.605 MB / 0.4988 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.4094, allocations: 1.234 MB / 0.5 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.4095, allocations: 0 / 0.5 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.4097, allocations: 18.5 kB / 0.5 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.41, allocations: 86.48 kB / 0.5001 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.4103, allocations: 95.02 kB / 0.5002 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.4104, allocations: 70.72 kB / 0.5003 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.4105, allocations: 11.16 kB / 0.5003 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.4106, allocations: 27.75 kB / 0.5003 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.4107, allocations: 35.34 kB / 0.5003 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.4107, allocations: 3.031 kB / 0.5004 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.4109, allocations: 89.91 kB / 0.5004 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.4109, allocations: 18.47 kB / 0.5005 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.411, allocations: 15.06 kB / 0.5005 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.4112, allocations: 144.9 kB / 0.5006 GB, free: 27.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4112, allocations: 3.938 kB / 0.5006 GB, free: 27.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4112, allocations: 0 / 0.5006 GB, free: 27.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.4112, allocations: 0 / 0.5006 GB, free: 27.6 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004704/0.4117, allocations: 332.6 kB / 0.5009 GB, free: 27.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4117, allocations: 9.906 kB / 0.5009 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.4118, allocations: 7.828 kB / 0.5009 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.4119, allocations: 134.4 kB / 0.5011 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.412, allocations: 384 / 0.5011 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.412, allocations: 3.5 kB / 0.5011 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.4121, allocations: 99.91 kB / 0.5012 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4122, allocations: 0 / 0.5012 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4122, allocations: 0 / 0.5012 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4122, allocations: 3.281 kB / 0.5012 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.334e-05/0.4123, allocations: 21.42 kB / 0.5012 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.4125, allocations: 225.3 kB / 0.5014 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.4127, allocations: 42.25 kB / 0.5015 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.4128, allocations: 18.81 kB / 0.5015 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.4128, allocations: 0 / 0.5015 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.4128, allocations: 33.62 kB / 0.5015 GB, free: 26.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.4128, allocations: 0 / 0.5015 GB, free: 26.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005344/0.4134, allocations: 142.3 kB / 0.5016 GB, free: 26.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.4134, allocations: 80.44 kB / 0.5017 GB, free: 26.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4135, allocations: 142.1 kB / 0.5018 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.4135, allocations: 28.92 kB / 0.5019 GB, free: 26.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.4136, allocations: 94.61 kB / 0.502 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.4136, allocations: 23.78 kB / 0.502 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.4136, allocations: 23.45 kB / 0.502 GB, free: 26.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.4137, allocations: 317.9 kB / 0.5023 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.4137, allocations: 23.75 kB / 0.5023 GB, free: 25.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.4138, allocations: 56.44 kB / 0.5024 GB, free: 25.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4139, allocations: 46.12 kB / 0.5024 GB, free: 25.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4139, allocations: 0 / 0.5024 GB, free: 25.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001597/0.4141, allocations: 83.12 kB / 0.5025 GB, free: 25.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4141, allocations: 10.31 kB / 0.5025 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4141, allocations: 0 / 0.5025 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4141, allocations: 8.031 kB / 0.5025 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.4142, allocations: 12.8 kB / 0.5025 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4142, allocations: 0 / 0.5025 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.4142, allocations: 10.78 kB / 0.5026 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.4142, allocations: 3.281 kB / 0.5026 GB, free: 25.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.96e-05/0.4143, allocations: 117.7 kB / 0.5027 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.4143, allocations: 7.109 kB / 0.5027 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.4145, allocations: 94.88 kB / 0.5028 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4145, allocations: 4 kB / 0.5028 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4145, allocations: 3.281 kB / 0.5028 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4145, allocations: 0 / 0.5028 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.4149, allocations: 287.5 kB / 0.503 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4149, allocations: 0 / 0.503 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.4149, allocations: 20.72 kB / 0.5031 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4149, allocations: 3.438 kB / 0.5031 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.4149, allocations: 0 / 0.5031 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4149, allocations: 3.938 kB / 0.5031 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4149, allocations: 4 kB / 0.5031 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.4151, allocations: 180.5 kB / 0.5033 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.4151, allocations: 7.938 kB / 0.5033 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.4151, allocations: 3.312 kB / 0.5033 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.4152, allocations: 6.484 kB / 0.5033 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.4153, allocations: 11.36 kB / 0.5033 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.4153, allocations: 3.312 kB / 0.5033 GB, free: 25.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.74e-05/0.4153, allocations: 116 kB / 0.5034 GB, free: 25.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4153, allocations: 0 / 0.5034 GB, free: 25.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.4156, allocations: 38.44 kB / 0.5034 GB, free: 25.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001792/0.4174, allocations: 0.5304 MB / 0.5039 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.4176, allocations: 46.22 kB / 0.504 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4176, allocations: 0 / 0.504 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.4177, allocations: 23.39 kB / 0.504 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.418, allocations: 17.5 kB / 0.504 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.4184, allocations: 169.3 kB / 0.5042 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.732e-05/0.4185, allocations: 81.56 kB / 0.5043 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.835e-05/0.4185, allocations: 17.2 kB / 0.5043 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.4186, allocations: 17.84 kB / 0.5043 GB, free: 24.63 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4186, allocations: 0 / 0.5043 GB, free: 24.63 MB / 446.1 MB Notification: Performance of Templates: time 0.004854/0.4234, allocations: 1.777 MB / 0.506 GB, free: 24.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.159974314970896]