Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.00176/0.00176, allocations: 74.27 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.002143/0.002143, allocations: 159.7 kB / 24.5 MB, free: 3.719 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.555/1.555, allocations: 177.2 MB / 204.9 MB, free: 8.984 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.2139/0.2139, allocations: 34.27 MB / 295.5 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003189/0.003189, allocations: 71.88 kB / 443.2 MB, free: 6.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4239, allocations: 66 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002936/0.4269, allocations: 1.65 MB / 0.4989 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009167/0.4278, allocations: 0.5431 MB / 0.4994 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.4279, allocations: 3.219 kB / 0.4994 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.4282, allocations: 96.53 kB / 0.4995 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.4285, allocations: 113.1 kB / 0.4996 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.4288, allocations: 118.7 kB / 0.4997 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.429, allocations: 106 kB / 0.4998 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.4291, allocations: 20.89 kB / 0.4998 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.4292, allocations: 46.05 kB / 0.4999 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.68e-05/0.4293, allocations: 69.67 kB / 0.4999 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.4293, allocations: 3.406 kB / 0.4999 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.4294, allocations: 43.56 kB / 0.5 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.4294, allocations: 25.02 kB / 0.5 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.4295, allocations: 40.89 kB / 0.5 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.4297, allocations: 136.5 kB / 0.5002 GB, free: 28.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4297, allocations: 0 / 0.5002 GB, free: 28.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4297, allocations: 0 / 0.5002 GB, free: 28.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4297, allocations: 0 / 0.5002 GB, free: 28.04 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000464/0.4301, allocations: 360.5 kB / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4302, allocations: 9.219 kB / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.4302, allocations: 15.16 kB / 0.5005 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.4304, allocations: 165 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.4304, allocations: 3.438 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.4305, allocations: 7.5 kB / 0.5007 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.4306, allocations: 86.16 kB / 0.5008 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4306, allocations: 3.953 kB / 0.5008 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4306, allocations: 0 / 0.5008 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.4306, allocations: 3.312 kB / 0.5008 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.4308, allocations: 44.66 kB / 0.5008 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.4311, allocations: 276.8 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.4312, allocations: 66.36 kB / 0.5012 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.4313, allocations: 21.73 kB / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.4313, allocations: 3.125 kB / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.4313, allocations: 34.5 kB / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4313, allocations: 0 / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.00104/0.4324, allocations: 336.5 kB / 0.5015 GB, free: 27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.4324, allocations: 55.34 kB / 0.5016 GB, free: 26.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.4326, allocations: 239.2 kB / 0.5018 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.4326, allocations: 29.7 kB / 0.5019 GB, free: 26.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.4327, allocations: 113.6 kB / 0.502 GB, free: 26.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.4327, allocations: 45.58 kB / 0.502 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.4328, allocations: 34.7 kB / 0.502 GB, free: 26.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.4328, allocations: 325.5 kB / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.433, allocations: 47.17 kB / 0.5024 GB, free: 26.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.4331, allocations: 44.25 kB / 0.5024 GB, free: 26.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.4333, allocations: 109.6 kB / 0.5025 GB, free: 26.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4333, allocations: 3.375 kB / 0.5025 GB, free: 26.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002605/0.4336, allocations: 160.8 kB / 0.5027 GB, free: 26.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4336, allocations: 3.375 kB / 0.5027 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4336, allocations: 0 / 0.5027 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.4336, allocations: 2.688 kB / 0.5027 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4337, allocations: 29.86 kB / 0.5027 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.4337, allocations: 7 kB / 0.5027 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.4338, allocations: 6.469 kB / 0.5027 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.4338, allocations: 7.125 kB / 0.5028 GB, free: 26.11 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 (13): * Single equations (assignments): 13 * 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 8.233e-05/0.4339, allocations: 135.2 kB / 0.5029 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.4339, allocations: 16.81 kB / 0.5029 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.4343, allocations: 187.4 kB / 0.5031 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4343, allocations: 7.188 kB / 0.5031 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4343, allocations: 0 / 0.5031 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4343, allocations: 0 / 0.5031 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.4348, allocations: 433.9 kB / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4348, allocations: 0 / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.4349, allocations: 29.53 kB / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4349, allocations: 0 / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4349, allocations: 2.938 kB / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4349, allocations: 3.938 kB / 0.5035 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4349, allocations: 3.984 kB / 0.5035 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.4352, allocations: 263.8 kB / 0.5038 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.4352, allocations: 17.69 kB / 0.5038 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.4352, allocations: 4 kB / 0.5038 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.4353, allocations: 5.5 kB / 0.5038 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.4353, allocations: 13.64 kB / 0.5038 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.4354, allocations: 9.562 kB / 0.5038 GB, free: 25.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.4355, allocations: 179.6 kB / 0.504 GB, free: 25.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4355, allocations: 0 / 0.504 GB, free: 25.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.4357, allocations: 31.02 kB / 0.504 GB, free: 25.24 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001892/0.4376, allocations: 0.4899 MB / 0.5045 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.4379, allocations: 110.5 kB / 0.5046 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4379, allocations: 0 / 0.5046 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.4381, allocations: 58.19 kB / 0.5047 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.4385, allocations: 25.75 kB / 0.5047 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.4391, allocations: 333.3 kB / 0.505 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.584e-05/0.4392, allocations: 109.9 kB / 0.5051 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.72e-05/0.4393, allocations: 30.73 kB / 0.5052 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.4393, allocations: 18.84 kB / 0.5052 GB, free: 24.66 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4393, allocations: 4 kB / 0.5052 GB, free: 24.65 MB / 446.1 MB Notification: Performance of Templates: time 0.005057/0.4444, allocations: 1.587 MB / 0.5067 GB, free: 24.43 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.081516391946934]