Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001572/0.001572, allocations: 180.9 kB / 18.71 MB, free: 4.359 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.391/1.391, 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.2066/0.2066, allocations: 44.2 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3916, allocations: 60.83 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003163/0.3948, allocations: 1.59 MB / 0.5205 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.3955, allocations: 407.3 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.3956, allocations: 1.188 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.396, allocations: 109.7 kB / 0.521 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.3962, allocations: 78.2 kB / 0.521 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.3965, allocations: 89.38 kB / 0.5211 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.3966, allocations: 79.19 kB / 0.5212 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3968, allocations: 12.25 kB / 0.5212 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.89e-05/0.3968, allocations: 42.03 kB / 0.5213 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.397, allocations: 65.38 kB / 0.5213 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.397, allocations: 2.562 kB / 0.5213 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.3971, allocations: 43.88 kB / 0.5214 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.3972, allocations: 28.84 kB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.3972, allocations: 31.53 kB / 0.5214 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.3975, allocations: 112.9 kB / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3975, allocations: 0.9375 kB / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3975, allocations: 0 / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3975, allocations: 1.219 kB / 0.5215 GB, free: 2.004 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.0004804/0.398, allocations: 425.4 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.398, allocations: 9.906 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.3981, allocations: 10.2 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.3982, allocations: 208.2 kB / 0.5222 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.3982, allocations: 1.406 kB / 0.5222 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.3983, allocations: 7.031 kB / 0.5222 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3984, allocations: 60.95 kB / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3984, allocations: 0 / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3984, allocations: 0 / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3984, allocations: 5.125 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3985, allocations: 29.56 kB / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.3989, allocations: 300.8 kB / 0.5225 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.999e-05/0.399, allocations: 47.05 kB / 0.5226 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.399, allocations: 16.94 kB / 0.5226 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.399, allocations: 2.297 kB / 0.5226 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.3991, allocations: 32.62 kB / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3991, allocations: 0 / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008583/0.3999, allocations: 231 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.3999, allocations: 52.88 kB / 0.5229 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.4002, allocations: 244 kB / 0.5231 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.4002, allocations: 25.7 kB / 0.5232 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.4002, allocations: 111.2 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.4003, allocations: 37.2 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.4003, allocations: 21.34 kB / 0.5233 GB, free: 436 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.4004, allocations: 322.9 kB / 0.5236 GB, free: 112 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.4005, allocations: 30.17 kB / 0.5237 GB, free: 100 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.4005, allocations: 23.83 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4007, allocations: 62.48 kB / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4007, allocations: 4 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002002/0.4009, allocations: 102.2 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4009, allocations: 5.438 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4009, allocations: 0.7031 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4009, allocations: 1.031 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.401, allocations: 17.12 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.401, allocations: 5.688 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.4011, allocations: 3.891 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.4011, allocations: 7.625 kB / 0.5239 GB, free: 0 / 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.0001404/0.4012, allocations: 129.4 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.4013, allocations: 13.94 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.4016, allocations: 125.2 kB / 0.5241 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4016, allocations: 0 / 0.5241 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4016, allocations: 10.19 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4016, allocations: 0.75 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.4021, allocations: 406.9 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4021, allocations: 0.7031 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.4022, allocations: 21.03 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4022, allocations: 1.031 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4022, allocations: 5.578 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.4022, allocations: 2.094 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4022, allocations: 0 / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.4024, allocations: 204.1 kB / 0.5248 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.4025, allocations: 96.39 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4025, allocations: 3.547 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.4026, allocations: 7.859 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.4026, allocations: 5.328 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.4026, allocations: 7.203 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.4028, allocations: 191.7 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4028, allocations: 0 / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000252/0.403, allocations: 20.02 kB / 0.5251 GB, free: 15.03 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.0009981/0.404, allocations: 464.9 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.4042, allocations: 62.39 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4042, allocations: 0 / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.4043, allocations: 34.78 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.4047, allocations: 30.58 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.4052, allocations: 278.2 kB / 0.5259 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.4055, allocations: 0.7167 MB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.782e-05/0.4056, allocations: 8.141 kB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.4056, allocations: 14.42 kB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4056, allocations: 0 / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.004548/0.4102, allocations: 1.353 MB / 0.528 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches