Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008693/0.0008694, allocations: 179 kB / 18.09 MB, free: 3.605 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.262/1.262, allocations: 223.3 MB / 242.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007555/0.0007556, allocations: 95.27 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3217/0.3217, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 16 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3723, allocations: 61.88 MB / 0.5107 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4967, allocations: 89.14 MB / 0.5978 GB, free: 5.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4971, allocations: 79.94 kB / 0.5979 GB, free: 5.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.5123, allocations: 5.741 MB / 0.6035 GB, free: 92 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.5123, allocations: 0 / 0.6035 GB, free: 92 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.762e-05/0.5124, allocations: 3.938 kB / 0.6035 GB, free: 88 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007946/0.5132, allocations: 430.9 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.73e-05/0.5133, allocations: 11.97 kB / 0.6039 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.5134, allocations: 16.75 kB / 0.6039 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.5138, allocations: 224 kB / 0.6041 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.5139, allocations: 16.36 kB / 0.6041 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.5139, allocations: 384 / 0.6041 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.5141, allocations: 54.17 kB / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5141, allocations: 192 / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.5141, allocations: 3.938 kB / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.5141, allocations: 3.984 kB / 0.6042 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.5142, allocations: 15.98 kB / 0.6042 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.5145, allocations: 189.7 kB / 0.6044 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.5147, allocations: 58.55 kB / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.5148, allocations: 20.84 kB / 0.6045 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.5148, allocations: 4 kB / 0.6045 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.515, allocations: 71.33 kB / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.254e-06/0.515, allocations: 0 / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004018/0.5154, allocations: 105.4 kB / 0.6046 GB, free: 14.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.5155, allocations: 59.39 kB / 0.6047 GB, free: 14.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.5159, allocations: 256.7 kB / 0.6049 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.5159, allocations: 25.7 kB / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.516, allocations: 112.1 kB / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.5161, allocations: 15.8 kB / 0.6051 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.5161, allocations: 3.938 kB / 0.6051 GB, free: 14.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5162, allocations: 322.8 kB / 0.6054 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.208e-05/0.5163, allocations: 20 kB / 0.6054 GB, free: 13.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.5164, allocations: 29.7 kB / 0.6054 GB, free: 13.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.5165, allocations: 45.7 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5165, allocations: 0 / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000195/0.5167, allocations: 89.42 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.5167, allocations: 7.938 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.5167, allocations: 4.188 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5168, allocations: 0 / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.5169, allocations: 12 kB / 0.6056 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.5169, allocations: 3.984 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.5169, allocations: 8 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.5169, allocations: 3.984 kB / 0.6056 GB, free: 13.65 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.000138/0.5171, allocations: 139.7 kB / 0.6057 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.5171, allocations: 19.75 kB / 0.6058 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.5174, allocations: 98.67 kB / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.5174, allocations: 0 / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5174, allocations: 0 / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.5174, allocations: 3.984 kB / 0.6059 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.5176, allocations: 209.5 kB / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5176, allocations: 0 / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.5177, allocations: 4.375 kB / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5177, allocations: 7.938 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.5177, allocations: 0 / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5177, allocations: 7.938 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5177, allocations: 0 / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.5179, allocations: 128.9 kB / 0.6062 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/0.518, allocations: 93 kB / 0.6063 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.518, allocations: 3.938 kB / 0.6063 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.5181, allocations: 11.98 kB / 0.6063 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.5181, allocations: 4 kB / 0.6063 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.5182, allocations: 0 / 0.6063 GB, free: 12.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.5183, allocations: 204.2 kB / 0.6065 GB, free: 12.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5184, allocations: 0 / 0.6065 GB, free: 12.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.5186, allocations: 27.91 kB / 0.6065 GB, free: 12.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009736/0.5196, allocations: 414.4 kB / 0.6069 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.5198, allocations: 47.91 kB / 0.607 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5198, allocations: 0 / 0.607 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/0.5198, allocations: 20 kB / 0.607 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.5201, allocations: 34.31 kB / 0.607 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.5207, allocations: 293.4 kB / 0.6073 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.521, allocations: 0.716 MB / 0.608 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.638e-05/0.5211, allocations: 16.42 kB / 0.608 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.5211, allocations: 15.44 kB / 0.608 GB, free: 11.17 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5211, allocations: 0 / 0.608 GB, free: 11.17 MB / 426.7 MB Notification: Performance of Templates: time 0.00468/0.5258, allocations: 1.634 MB / 0.6096 GB, free: 9.559 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches