Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001124, allocations: 114.6 kB / 17.78 MB, free: 5.129 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.001236/0.001236, allocations: 185 kB / 18.72 MB, free: 4.203 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.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1977/0.1977, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3307, allocations: 60.82 MB / 0.5189 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002975/0.3337, allocations: 1.581 MB / 0.5205 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.3345, allocations: 417.9 kB / 0.5209 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.3346, allocations: 4.938 kB / 0.5209 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.3349, allocations: 77.11 kB / 0.521 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.3351, allocations: 67.38 kB / 0.521 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.3354, allocations: 103.5 kB / 0.5211 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.3356, allocations: 66.41 kB / 0.5212 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3357, allocations: 27.75 kB / 0.5212 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.3358, allocations: 36.97 kB / 0.5212 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3359, allocations: 50.31 kB / 0.5213 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3359, allocations: 7.625 kB / 0.5213 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.3361, allocations: 43.38 kB / 0.5213 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.3361, allocations: 14.89 kB / 0.5214 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.3362, allocations: 34.83 kB / 0.5214 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.3364, allocations: 93.16 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3364, allocations: 7.938 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3364, allocations: 0 / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.3364, allocations: 1.312 kB / 0.5215 GB, free: 2.262 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.000372/0.3368, allocations: 410.5 kB / 0.5219 GB, free: 1.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.3368, allocations: 13.66 kB / 0.5219 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.3369, allocations: 10.72 kB / 0.5219 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.337, allocations: 197.2 kB / 0.5221 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.337, allocations: 1.688 kB / 0.5221 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.337, allocations: 3.344 kB / 0.5221 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3372, allocations: 64.97 kB / 0.5222 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3372, allocations: 1.25 kB / 0.5222 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3372, allocations: 3.938 kB / 0.5222 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3372, allocations: 0.9688 kB / 0.5222 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.431e-05/0.3373, allocations: 31.25 kB / 0.5222 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.3376, allocations: 304.3 kB / 0.5225 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3377, allocations: 52.19 kB / 0.5225 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.3378, allocations: 17.05 kB / 0.5225 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3378, allocations: 1.312 kB / 0.5225 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.3379, allocations: 34.56 kB / 0.5226 GB, free: 1.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3379, allocations: 1.031 kB / 0.5226 GB, free: 1.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008338/0.3387, allocations: 230.3 kB / 0.5228 GB, free: 1.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.3387, allocations: 53.62 kB / 0.5228 GB, free: 1.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3389, allocations: 209.4 kB / 0.523 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.3389, allocations: 27.17 kB / 0.5231 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.339, allocations: 107.9 kB / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.339, allocations: 34.09 kB / 0.5232 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.339, allocations: 24.22 kB / 0.5232 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.3391, allocations: 327.5 kB / 0.5235 GB, free: 400 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.3392, allocations: 25.03 kB / 0.5236 GB, free: 396 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.3392, allocations: 32.77 kB / 0.5236 GB, free: 388 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3394, allocations: 77.83 kB / 0.5237 GB, free: 352 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3394, allocations: 1.469 kB / 0.5237 GB, free: 352 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000222/0.3396, allocations: 113.1 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3397, allocations: 7.75 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3397, allocations: 0.6562 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3397, allocations: 1.844 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.3398, allocations: 19.17 kB / 0.5238 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3398, allocations: 5.797 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.3398, allocations: 4.781 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3399, allocations: 1.812 kB / 0.5238 GB, free: 284 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 7.577e-05/0.3399, allocations: 136.4 kB / 0.524 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.34, allocations: 13.84 kB / 0.524 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.3402, allocations: 126.1 kB / 0.5241 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3403, allocations: 1.688 kB / 0.5241 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3403, allocations: 3.938 kB / 0.5241 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3403, allocations: 2.375 kB / 0.5241 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.3408, allocations: 423.7 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3408, allocations: 0 / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-05/0.3409, allocations: 24.59 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3409, allocations: 1.5 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3409, allocations: 5.625 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3409, allocations: 2.234 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3409, allocations: 432 / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.3412, allocations: 214.6 kB / 0.5247 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.3412, allocations: 87.8 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.3413, allocations: 2.5 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.3413, allocations: 4.172 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.3414, allocations: 13.92 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.3414, allocations: 7.125 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.3415, allocations: 156.5 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3415, allocations: 3.938 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.3418, allocations: 20.03 kB / 0.525 GB, free: 15.32 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.0009676/0.3428, allocations: 456.1 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.343, allocations: 70.86 kB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.343, allocations: 3.938 kB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.407e-05/0.3431, allocations: 39.22 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3435, allocations: 25.45 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.344, allocations: 258.5 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.3443, allocations: 0.7128 MB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.653e-05/0.3444, allocations: 24.39 kB / 0.5266 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.3445, allocations: 14.11 kB / 0.5266 GB, free: 14.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3445, allocations: 0 / 0.5266 GB, free: 14.16 MB / 398.1 MB Notification: Performance of Templates: time 0.004104/0.3486, allocations: 1.372 MB / 0.5279 GB, free: 13.69 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches