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.001759/0.001759, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001906/0.001906, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.08 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.2258/0.2258, allocations: 44.17 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4174, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002946/0.4204, allocations: 1.584 MB / 0.5205 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.4212, allocations: 417.8 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.4212, allocations: 1.031 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.4215, allocations: 72.98 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.4217, allocations: 63.62 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.4219, allocations: 111.4 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.4221, allocations: 70.27 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.4222, allocations: 22.8 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.424e-05/0.4222, allocations: 34.05 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.4224, allocations: 58.44 kB / 0.5213 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.4224, allocations: 3.219 kB / 0.5213 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.4225, allocations: 43.23 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.4225, allocations: 26.81 kB / 0.5214 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.4226, allocations: 27.03 kB / 0.5214 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.4228, allocations: 96.08 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4228, allocations: 5.156 kB / 0.5215 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4228, allocations: 0 / 0.5215 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.4228, allocations: 3.938 kB / 0.5215 GB, free: 1.977 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.0003998/0.4232, allocations: 397 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4232, allocations: 14 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.4233, allocations: 9.891 kB / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4234, allocations: 193.5 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-06/0.4234, allocations: 6.203 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.4235, allocations: 7.531 kB / 0.5221 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.4236, allocations: 57.11 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4236, allocations: 0 / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4237, allocations: 5.562 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4237, allocations: 5.281 kB / 0.5221 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.4238, allocations: 25.02 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.4241, allocations: 308.3 kB / 0.5225 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.785e-05/0.4242, allocations: 45.78 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.4243, allocations: 19.78 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.4243, allocations: 1.188 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.4243, allocations: 36.5 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4244, allocations: 0 / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008735/0.4252, allocations: 238.1 kB / 0.5228 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.4253, allocations: 53.61 kB / 0.5228 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.4254, allocations: 206.2 kB / 0.523 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.4255, allocations: 29.64 kB / 0.5231 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.4255, allocations: 116.7 kB / 0.5232 GB, free: 496 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.4255, allocations: 25.77 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.4256, allocations: 21.33 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.4256, allocations: 321.7 kB / 0.5235 GB, free: 132 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.4257, allocations: 33.28 kB / 0.5236 GB, free: 120 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.4258, allocations: 27.78 kB / 0.5236 GB, free: 116 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.426, allocations: 75.2 kB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.426, allocations: 5.062 kB / 0.5237 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002139/0.4262, allocations: 116.2 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4262, allocations: 5.625 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4263, allocations: 0.6094 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.4263, allocations: 1.094 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.4264, allocations: 16.59 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4264, allocations: 5.406 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.4265, allocations: 9.141 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.4265, allocations: 2.5 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.0001218/0.4266, allocations: 127.3 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.4266, allocations: 9.125 kB / 0.5239 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.4269, allocations: 127.2 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.427, allocations: 0.9688 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.427, allocations: 4.594 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.427, allocations: 6.328 kB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.4276, allocations: 423.6 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4276, allocations: 0 / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.4277, allocations: 21.64 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4277, allocations: 1.781 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.4277, allocations: 0.6562 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4277, allocations: 1.781 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4277, allocations: 8.391 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.428, allocations: 210 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.428, allocations: 93.98 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4281, allocations: 0 / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.4281, allocations: 6.141 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.4282, allocations: 18.72 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4282, allocations: 7.25 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.4283, allocations: 154.4 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4283, allocations: 0 / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.4286, allocations: 23.81 kB / 0.525 GB, free: 15.05 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.001028/0.4296, allocations: 453.4 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.4299, allocations: 76.41 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4299, allocations: 0 / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.43, allocations: 42.42 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.4304, allocations: 22.98 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.0005148/0.4309, allocations: 259.6 kB / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.4312, allocations: 0.7095 MB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.83e-05/0.4313, allocations: 20.95 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.4313, allocations: 21.44 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4313, allocations: 0 / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Templates: time 0.005258/0.4366, allocations: 1.39 MB / 0.5279 GB, free: 13.44 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