Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000915/0.0009151, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.4 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000826/0.0008262, allocations: 99.59 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1824/0.1824, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.886e-05, allocations: 8.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3882/0.4976, allocations: 89.21 MB / 0.5888 GB, free: 104 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.4979, allocations: 79.94 kB / 0.5889 GB, free: 24 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01436/0.5122, allocations: 5.642 MB / 0.5944 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5123, allocations: 0 / 0.5944 GB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.5123, allocations: 0 / 0.5944 GB, free: 10.39 MB / 410.7 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.0004969/0.5128, allocations: 406.2 kB / 0.5948 GB, free: 9.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.5129, allocations: 16.03 kB / 0.5948 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.5129, allocations: 7.906 kB / 0.5948 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.5133, allocations: 215.5 kB / 0.595 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.5133, allocations: 3.953 kB / 0.595 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.5133, allocations: 7.984 kB / 0.595 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.5134, allocations: 53.62 kB / 0.5951 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.5135, allocations: 3.984 kB / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5135, allocations: 0 / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5135, allocations: 4 kB / 0.5951 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.229e-05/0.5136, allocations: 27.92 kB / 0.5951 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.514, allocations: 288.9 kB / 0.5954 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.5141, allocations: 54.62 kB / 0.5955 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.5142, allocations: 20.97 kB / 0.5955 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.5142, allocations: 8 kB / 0.5955 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.5144, allocations: 63.41 kB / 0.5955 GB, free: 9.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.5144, allocations: 0 / 0.5955 GB, free: 9.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004647/0.5148, allocations: 157.2 kB / 0.5957 GB, free: 8.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.5149, allocations: 59.39 kB / 0.5958 GB, free: 8.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.5151, allocations: 187.6 kB / 0.5959 GB, free: 8.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.5151, allocations: 25.7 kB / 0.596 GB, free: 8.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.5152, allocations: 100.1 kB / 0.5961 GB, free: 8.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.5152, allocations: 31.64 kB / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.5152, allocations: 0 / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.5153, allocations: 330.8 kB / 0.5964 GB, free: 8.148 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.5153, allocations: 16 kB / 0.5964 GB, free: 8.133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.355e-05/0.5154, allocations: 41.64 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.5155, allocations: 20 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.5155, allocations: 0 / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001346/0.5156, allocations: 101.5 kB / 0.5966 GB, free: 7.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.5156, allocations: 9.094 kB / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5156, allocations: 0 / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5157, allocations: 0 / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.604e-05/0.5157, allocations: 12 kB / 0.5966 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5158, allocations: 4 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.5158, allocations: 7.984 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5158, allocations: 4.188 kB / 0.5966 GB, free: 7.926 MB / 410.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.615e-05/0.5159, allocations: 110.3 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.516, allocations: 19.78 kB / 0.5967 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.5162, allocations: 119.1 kB / 0.5968 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5162, allocations: 0 / 0.5968 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.5162, allocations: 4 kB / 0.5968 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5162, allocations: 0 / 0.5968 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.5166, allocations: 407.3 kB / 0.5972 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5166, allocations: 0 / 0.5972 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.5166, allocations: 15.92 kB / 0.5972 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5166, allocations: 11.97 kB / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.5167, allocations: 4 kB / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5167, allocations: 0 / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5167, allocations: 4 kB / 0.5973 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.5169, allocations: 221.8 kB / 0.5975 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.5169, allocations: 89 kB / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.517, allocations: 8 kB / 0.5976 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.517, allocations: 4 kB / 0.5976 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.5171, allocations: 11.94 kB / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.5171, allocations: 4 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.5172, allocations: 152.9 kB / 0.5977 GB, free: 6.652 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5172, allocations: 0 / 0.5977 GB, free: 6.652 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.5175, allocations: 27.94 kB / 0.5978 GB, free: 6.625 MB / 410.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008796/0.5183, allocations: 443.2 kB / 0.5982 GB, free: 6.309 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.5185, allocations: 52 kB / 0.5982 GB, free: 6.258 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5185, allocations: 0 / 0.5982 GB, free: 6.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.5185, allocations: 31.94 kB / 0.5983 GB, free: 6.227 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5188, allocations: 32.03 kB / 0.5983 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.5191, allocations: 174.9 kB / 0.5985 GB, free: 6.004 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.5194, allocations: 0.7121 MB / 0.5992 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.5194, allocations: 16.42 kB / 0.5992 GB, free: 5.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.5195, allocations: 23.42 kB / 0.5992 GB, free: 5.227 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5195, allocations: 0 / 0.5992 GB, free: 5.227 MB / 410.7 MB Notification: Performance of Templates: time 0.003738/0.5232, allocations: 1.712 MB / 0.6009 GB, free: 3.527 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches