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.001141/0.001141, allocations: 110 kB / 18.45 MB, free: 4.578 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.00103/0.00103, allocations: 186.3 kB / 19.38 MB, free: 3.66 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.379/1.379, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.199/0.199, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.89 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4127, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003727/0.4164, allocations: 1.581 MB / 0.5211 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.4174, allocations: 418.2 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.4175, allocations: 1.125 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.4178, allocations: 80.52 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.4181, allocations: 67.89 kB / 0.5217 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.4185, allocations: 108 kB / 0.5218 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.4188, allocations: 73.42 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.4189, allocations: 23.61 kB / 0.5219 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.4189, allocations: 33.41 kB / 0.5219 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.4191, allocations: 54.98 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.4191, allocations: 3.031 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.4192, allocations: 38.55 kB / 0.522 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.157e-05/0.4193, allocations: 28.58 kB / 0.522 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.4193, allocations: 29.7 kB / 0.522 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.4196, allocations: 95.73 kB / 0.5221 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4196, allocations: 1.562 kB / 0.5221 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4196, allocations: 0 / 0.5221 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.4196, allocations: 4 kB / 0.5221 GB, free: 2 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.0004651/0.4201, allocations: 405.3 kB / 0.5225 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4201, allocations: 9.812 kB / 0.5225 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.4202, allocations: 9.281 kB / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.4203, allocations: 194.1 kB / 0.5227 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4203, allocations: 1.469 kB / 0.5227 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.4204, allocations: 7.734 kB / 0.5227 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.4205, allocations: 57.36 kB / 0.5228 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4205, allocations: 7.938 kB / 0.5228 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4206, allocations: 1.156 kB / 0.5228 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4206, allocations: 1.125 kB / 0.5228 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.4207, allocations: 30.14 kB / 0.5228 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.4211, allocations: 300.2 kB / 0.5231 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.4212, allocations: 56.47 kB / 0.5232 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.4212, allocations: 21.16 kB / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.4213, allocations: 0 / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.4213, allocations: 32.42 kB / 0.5232 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.4213, allocations: 0 / 0.5232 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008984/0.4222, allocations: 238.5 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.4222, allocations: 52.91 kB / 0.5235 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.4224, allocations: 211.2 kB / 0.5237 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.4225, allocations: 25.7 kB / 0.5237 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.4225, allocations: 112.4 kB / 0.5238 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.4225, allocations: 26.27 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.4226, allocations: 20.91 kB / 0.5239 GB, free: 480 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.4226, allocations: 329.8 kB / 0.5242 GB, free: 148 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.4227, allocations: 26.22 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.4228, allocations: 35.52 kB / 0.5243 GB, free: 132 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.423, allocations: 70.98 kB / 0.5243 GB, free: 104 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.423, allocations: 0 / 0.5243 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002081/0.4232, allocations: 113.8 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4232, allocations: 7 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4232, allocations: 1.828 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4233, allocations: 0 / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4234, allocations: 26.33 kB / 0.5245 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4234, allocations: 8 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.4234, allocations: 5.594 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.4234, allocations: 1.25 kB / 0.5245 GB, free: 28 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.0001307/0.4236, allocations: 132.5 kB / 0.5246 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.4236, allocations: 8.688 kB / 0.5246 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.4239, allocations: 126.4 kB / 0.5247 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.424, allocations: 1.156 kB / 0.5247 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.424, allocations: 5.766 kB / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.424, allocations: 0 / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.4245, allocations: 424.2 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4246, allocations: 1.906 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.4246, allocations: 20.47 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4246, allocations: 1.438 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4247, allocations: 5.688 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.4247, allocations: 0.75 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4247, allocations: 5 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.425, allocations: 218.2 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.425, allocations: 87.62 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.425, allocations: 1.891 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.4251, allocations: 5.141 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.4252, allocations: 5.734 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.4252, allocations: 10.69 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.4253, allocations: 152.5 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4253, allocations: 4 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.4256, allocations: 23.77 kB / 0.5257 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.001036/0.4266, allocations: 452.5 kB / 0.5261 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.4269, allocations: 80.05 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4269, allocations: 0 / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.838e-05/0.427, allocations: 37.39 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.4274, allocations: 31.75 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.4279, allocations: 289.4 kB / 0.5265 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.4282, allocations: 0.7133 MB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.4283, allocations: 18.92 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4283, allocations: 0 / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.003948/0.4322, allocations: 1.754 MB / 0.5289 GB, free: 13.26 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/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