Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001349, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001386/0.001386, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.227/0.227, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4143, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002941/0.4173, allocations: 1.628 MB / 0.5205 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007667/0.4181, allocations: 420.9 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.4182, allocations: 1.031 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.4185, allocations: 93.84 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.4187, allocations: 71.55 kB / 0.5211 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.4189, allocations: 90.5 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.4191, allocations: 87.31 kB / 0.5212 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4193, allocations: 25.38 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.564e-05/0.4193, allocations: 45.25 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.4194, allocations: 52.94 kB / 0.5214 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.4195, allocations: 4.281 kB / 0.5214 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.692e-05/0.4196, allocations: 52.72 kB / 0.5214 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.4196, allocations: 26.11 kB / 0.5214 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.4197, allocations: 33.28 kB / 0.5215 GB, free: 2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.4199, allocations: 125.4 kB / 0.5216 GB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4199, allocations: 3.938 kB / 0.5216 GB, free: 1.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4199, allocations: 4 kB / 0.5216 GB, free: 1.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.4199, allocations: 1.125 kB / 0.5216 GB, free: 1.938 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004114/0.4203, allocations: 417.1 kB / 0.522 GB, free: 1.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.4204, allocations: 10.94 kB / 0.522 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.4204, allocations: 15.19 kB / 0.522 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.4206, allocations: 211.8 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.4206, allocations: 2.438 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.4206, allocations: 8.281 kB / 0.5222 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.4208, allocations: 74.67 kB / 0.5223 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4208, allocations: 1.859 kB / 0.5223 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4208, allocations: 5.062 kB / 0.5223 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4208, allocations: 1 kB / 0.5223 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.4209, allocations: 44.23 kB / 0.5224 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.4213, allocations: 319.2 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4214, allocations: 71.16 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.4215, allocations: 26.52 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.4215, allocations: 1.469 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.4215, allocations: 32.75 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.4215, allocations: 0 / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009232/0.4225, allocations: 307.5 kB / 0.5231 GB, free: 0.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.4225, allocations: 53.19 kB / 0.5231 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.4227, allocations: 232.8 kB / 0.5234 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4227, allocations: 31.42 kB / 0.5234 GB, free: 480 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.4227, allocations: 114.2 kB / 0.5235 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.4228, allocations: 39.67 kB / 0.5235 GB, free: 340 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.4228, allocations: 37.09 kB / 0.5236 GB, free: 308 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.4229, allocations: 324.5 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.423, allocations: 37.45 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.4231, allocations: 34.17 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.4233, allocations: 90.73 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4233, allocations: 0 / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003382/0.4237, allocations: 136.8 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4237, allocations: 6 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4237, allocations: 1.281 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4237, allocations: 4.047 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.4239, allocations: 34.28 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4239, allocations: 1.25 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.4239, allocations: 4.562 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.424, allocations: 3.844 kB / 0.5242 GB, free: 15.84 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001103/0.4241, allocations: 133.9 kB / 0.5243 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.4241, allocations: 15.09 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.4245, allocations: 165.9 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4245, allocations: 9.719 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4245, allocations: 1.219 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.4245, allocations: 0.6562 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006194/0.4251, allocations: 474 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4252, allocations: 1.219 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.4253, allocations: 27.5 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4253, allocations: 1.625 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4253, allocations: 10.05 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4253, allocations: 1.469 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4253, allocations: 2.172 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.4256, allocations: 251.1 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.4257, allocations: 88.7 kB / 0.5253 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4257, allocations: 2 kB / 0.5253 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.4258, allocations: 10.89 kB / 0.5254 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.4258, allocations: 11.45 kB / 0.5254 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.4258, allocations: 11.97 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.426, allocations: 171.5 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.426, allocations: 0 / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.4262, allocations: 28.11 kB / 0.5256 GB, free: 14.82 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 (13): * Single equations (assignments): 13 * 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.001063/0.4273, allocations: 447.8 kB / 0.526 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.4276, allocations: 98.66 kB / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4276, allocations: 0 / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.4277, allocations: 55.88 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.4281, allocations: 24.25 kB / 0.5262 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.4286, allocations: 303.4 kB / 0.5265 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.429, allocations: 0.7133 MB / 0.5271 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.4291, allocations: 16.89 kB / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.4291, allocations: 20.81 kB / 0.5272 GB, free: 13.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4291, allocations: 4 kB / 0.5272 GB, free: 13.64 MB / 398.1 MB Notification: Performance of Templates: time 0.00438/0.4335, allocations: 1.538 MB / 0.5287 GB, free: 13.07 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches