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.001026/0.001026, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001058/0.001058, allocations: 184.2 kB / 18.71 MB, free: 4.32 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2198/0.2198, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4155, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002811/0.4184, allocations: 1.587 MB / 0.5205 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.4192, allocations: 410.4 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.4193, allocations: 1.156 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.4196, allocations: 76.8 kB / 0.5209 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.4198, allocations: 63.55 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.4202, allocations: 112.3 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.4204, allocations: 79.2 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.4205, allocations: 15.36 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.26e-05/0.4205, allocations: 36.97 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.4207, allocations: 57.7 kB / 0.5213 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.4207, allocations: 3.312 kB / 0.5213 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.4208, allocations: 43.45 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.4209, allocations: 19.92 kB / 0.5214 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.4209, allocations: 25.92 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.4211, allocations: 105 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4211, allocations: 0 / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4211, allocations: 0 / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4211, allocations: 0 / 0.5215 GB, free: 1.984 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.0004397/0.4216, allocations: 406.1 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4216, allocations: 13.16 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.4217, allocations: 10.09 kB / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.4218, allocations: 198.2 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.4219, allocations: 1.344 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.4219, allocations: 3.75 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.4221, allocations: 60.97 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4221, allocations: 0.5156 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.4221, allocations: 0 / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4221, allocations: 1.156 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4222, allocations: 29.92 kB / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.4226, allocations: 300.8 kB / 0.5225 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.4227, allocations: 45.27 kB / 0.5225 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.4228, allocations: 19.61 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.4228, allocations: 1.891 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.4228, allocations: 36.66 kB / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4228, allocations: 0 / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009155/0.4237, allocations: 238.2 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4238, allocations: 56.47 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.424, allocations: 210.5 kB / 0.523 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.424, allocations: 26.8 kB / 0.5231 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.4241, allocations: 112.1 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.4241, allocations: 25.89 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.4242, allocations: 20.97 kB / 0.5232 GB, free: 468 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.4242, allocations: 322.4 kB / 0.5235 GB, free: 144 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.4243, allocations: 29.64 kB / 0.5236 GB, free: 136 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.4244, allocations: 38.17 kB / 0.5236 GB, free: 120 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.4246, allocations: 71.78 kB / 0.5237 GB, free: 92 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4246, allocations: 0 / 0.5237 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002159/0.4248, allocations: 113.5 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4248, allocations: 9.562 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4248, allocations: 0 / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4249, allocations: 6.594 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.425, allocations: 25.02 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.425, allocations: 3.938 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.425, allocations: 8.656 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.425, allocations: 2.906 kB / 0.5238 GB, free: 8 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.0001164/0.4252, allocations: 127.4 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.4252, allocations: 13.67 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.4255, allocations: 126.3 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4255, allocations: 1.125 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4255, allocations: 5.156 kB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4255, allocations: 0.6562 kB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.4261, allocations: 416.4 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4261, allocations: 5.25 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.4262, allocations: 20.83 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4262, allocations: 5.938 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4262, allocations: 1.219 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.4262, allocations: 1.172 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.4263, allocations: 4.688 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.4265, allocations: 206 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.4266, allocations: 92.25 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.4266, allocations: 10.12 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.4267, allocations: 4.688 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.4268, allocations: 6.797 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4268, allocations: 2.156 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.4269, allocations: 159.7 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4269, allocations: 0 / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.4272, allocations: 24.88 kB / 0.525 GB, free: 15.06 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.001033/0.4282, allocations: 452.4 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.4285, allocations: 76.34 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4285, allocations: 4 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.652e-05/0.4286, allocations: 38.91 kB / 0.5255 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.0003155/0.4289, allocations: 35.39 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.4294, allocations: 260.6 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.4297, allocations: 0.7115 MB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.268e-05/0.4298, allocations: 24.77 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.4298, allocations: 13.45 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4298, allocations: 1.375 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Templates: time 0.004214/0.434, allocations: 1.362 MB / 0.5279 GB, free: 13.46 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