Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 108.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 180.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.205/0.205, allocations: 44.2 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3602, allocations: 60.83 MB / 0.5189 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002725/0.363, allocations: 1.588 MB / 0.5205 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006512/0.3637, allocations: 414.6 kB / 0.5209 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.3637, allocations: 0 / 0.5209 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.364, allocations: 73.05 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.3642, allocations: 68.03 kB / 0.521 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.3645, allocations: 115.9 kB / 0.5211 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.3647, allocations: 73.41 kB / 0.5212 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3648, allocations: 19.58 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.3649, allocations: 33.67 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.365, allocations: 54.31 kB / 0.5213 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.365, allocations: 6.531 kB / 0.5213 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3651, allocations: 44.3 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.3652, allocations: 19.09 kB / 0.5214 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.3652, allocations: 34.72 kB / 0.5214 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3655, allocations: 96.44 kB / 0.5215 GB, free: 2.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3655, allocations: 5.031 kB / 0.5215 GB, free: 2.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3655, allocations: 0 / 0.5215 GB, free: 2.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3655, allocations: 0 / 0.5215 GB, free: 2.012 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004492/0.3659, allocations: 416 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.366, allocations: 13.84 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.366, allocations: 9.141 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3662, allocations: 193.7 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3662, allocations: 5.656 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3662, allocations: 6.812 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3664, allocations: 58.88 kB / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3664, allocations: 0 / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3664, allocations: 0 / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3665, allocations: 1.156 kB / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3666, allocations: 31.17 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.367, allocations: 300.2 kB / 0.5225 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.3671, allocations: 48.42 kB / 0.5225 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.3672, allocations: 20.23 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.3672, allocations: 1.031 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3672, allocations: 40.17 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3672, allocations: 0 / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009299/0.3682, allocations: 234.4 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.3682, allocations: 53.92 kB / 0.5229 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3684, allocations: 209.7 kB / 0.5231 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3684, allocations: 34.8 kB / 0.5231 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.3685, allocations: 107.5 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3685, allocations: 30.16 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.3686, allocations: 21.45 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.3686, allocations: 324.2 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.3687, allocations: 27.69 kB / 0.5236 GB, free: 140 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.954e-05/0.3688, allocations: 35.27 kB / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.369, allocations: 75.73 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.369, allocations: 0 / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002114/0.3692, allocations: 109.2 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3693, allocations: 5.75 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3693, allocations: 0.75 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3693, allocations: 5.484 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.3694, allocations: 24.48 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3694, allocations: 5.469 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.3694, allocations: 3.938 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.3695, allocations: 3.406 kB / 0.5238 GB, free: 24 kB / 382.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 (8): * Single equations (assignments): 8 * 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 0.0001262/0.3696, allocations: 126.7 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.3696, allocations: 13.19 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.3699, allocations: 135.1 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3699, allocations: 6.797 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.37, allocations: 3.938 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.37, allocations: 0 / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.3705, allocations: 416.2 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3705, allocations: 0.6094 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.844e-05/0.3706, allocations: 21.61 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3706, allocations: 1.438 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3706, allocations: 5.562 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3706, allocations: 0.6562 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3706, allocations: 1.438 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3709, allocations: 213.7 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.3709, allocations: 88.73 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.371, allocations: 9.938 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.371, allocations: 9.328 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.3711, allocations: 5.422 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3711, allocations: 2.594 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.3712, allocations: 159.6 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3712, allocations: 0 / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.3715, allocations: 23.98 kB / 0.525 GB, free: 15.07 MB / 398.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 (8): * Single equations (assignments): 8 * 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.0009762/0.3725, allocations: 449 kB / 0.5255 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.3727, allocations: 79.56 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3727, allocations: 1.781 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.3728, allocations: 44.31 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.3732, allocations: 19.19 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.3736, allocations: 254.1 kB / 0.5258 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.374, allocations: 0.7126 MB / 0.5265 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.461e-05/0.374, allocations: 20.52 kB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.3741, allocations: 17.78 kB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3741, allocations: 1.375 kB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of Templates: time 0.004185/0.3783, allocations: 1.359 MB / 0.5279 GB, free: 13.49 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches