Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009948/0.0009948, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.241/1.241, allocations: 223.2 MB / 241 MB, free: 11.87 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.0008985/0.0008987, allocations: 97.94 kB / 292.1 MB, free: 10.92 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.3053/0.3053, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 12 kB / 459.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3835, allocations: 61.89 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.5075, allocations: 89.35 MB / 0.5968 GB, free: 5.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5078, allocations: 79.91 kB / 0.5969 GB, free: 5.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.524, allocations: 5.94 MB / 0.6027 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.524, allocations: 0 / 0.6027 GB, free: 15.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.524, allocations: 0 / 0.6027 GB, free: 15.77 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005056/0.5245, allocations: 438.8 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5246, allocations: 12.56 kB / 0.6031 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.5246, allocations: 15.81 kB / 0.6031 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.5249, allocations: 217.3 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.525, allocations: 7.953 kB / 0.6034 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.525, allocations: 3.906 kB / 0.6034 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.5251, allocations: 61.66 kB / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5252, allocations: 0 / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.5252, allocations: 4 kB / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5252, allocations: 4 kB / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.5253, allocations: 23.97 kB / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.5257, allocations: 308.8 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.5259, allocations: 62.55 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.526, allocations: 3.938 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.5261, allocations: 75.45 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 3.366e-06/0.5261, allocations: 3.984 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007901/0.5269, allocations: 249.3 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.527, allocations: 51.41 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.5272, allocations: 197.5 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.5272, allocations: 25.7 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.5273, allocations: 112 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.5273, allocations: 31.56 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.5273, allocations: 4 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5275, allocations: 334.8 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.5275, allocations: 28 kB / 0.6049 GB, free: 13.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.004e-05/0.5276, allocations: 51.19 kB / 0.6049 GB, free: 13.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.086e-05/0.5277, allocations: 32.05 kB / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5277, allocations: 0 / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002103/0.5279, allocations: 133.5 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.528, allocations: 8 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.528, allocations: 0 / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.528, allocations: 0 / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.5281, allocations: 19.98 kB / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.5281, allocations: 7.938 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.5281, allocations: 7.906 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.5282, allocations: 4 kB / 0.6051 GB, free: 13.06 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 (13): * Single equations (assignments): 13 * 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.000114/0.5283, allocations: 139.8 kB / 0.6053 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.5283, allocations: 11.91 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.5286, allocations: 147.7 kB / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5286, allocations: 3.938 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5286, allocations: 4 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5286, allocations: 0 / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.5292, allocations: 483.9 kB / 0.6059 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5292, allocations: 0 / 0.6059 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.5293, allocations: 19.92 kB / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5293, allocations: 0 / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5293, allocations: 8 kB / 0.6059 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5293, allocations: 0 / 0.6059 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5293, allocations: 7.953 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.5296, allocations: 264.5 kB / 0.6062 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.5297, allocations: 93 kB / 0.6062 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.5297, allocations: 7.953 kB / 0.6063 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.5298, allocations: 4 kB / 0.6063 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.5299, allocations: 7.984 kB / 0.6063 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.5299, allocations: 12 kB / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.53, allocations: 159.2 kB / 0.6064 GB, free: 11.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.503e-06/0.53, allocations: 4 kB / 0.6064 GB, free: 11.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000263/0.5303, allocations: 43.88 kB / 0.6065 GB, free: 11.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001092/0.5314, allocations: 0.5154 MB / 0.607 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.5316, allocations: 91.78 kB / 0.6071 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5316, allocations: 0 / 0.6071 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.282e-05/0.5317, allocations: 43.98 kB / 0.6071 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.532, allocations: 35.06 kB / 0.6071 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.5325, allocations: 299.9 kB / 0.6074 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5328, allocations: 0.716 MB / 0.6081 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.887e-05/0.5328, allocations: 20.64 kB / 0.6081 GB, free: 9.977 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.5329, allocations: 27.42 kB / 0.6082 GB, free: 9.949 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5329, allocations: 0 / 0.6082 GB, free: 9.949 MB / 426.7 MB Notification: Performance of Templates: time 0.004361/0.5373, allocations: 1.958 MB / 0.6101 GB, free: 8.012 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches