Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 113.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.001142/0.001142, allocations: 188.1 kB / 18.71 MB, free: 4.363 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.12 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.2234/0.2234, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4132, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002735/0.416, allocations: 1.562 MB / 0.5204 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007636/0.4168, allocations: 412.9 kB / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.4168, allocations: 0 / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.4171, allocations: 24.94 kB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.4173, allocations: 38.95 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.4176, allocations: 111.8 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.4178, allocations: 54.3 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4179, allocations: 13.47 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.516e-05/0.4179, allocations: 18.78 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.418, allocations: 24.22 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.418, allocations: 6.438 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.4181, allocations: 29.09 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.4182, allocations: 15.14 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.4182, allocations: 15.98 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.4184, allocations: 73.48 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4184, allocations: 0.5625 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4184, allocations: 0 / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4184, allocations: 5.062 kB / 0.5212 GB, free: 2.055 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003849/0.4188, allocations: 373.2 kB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.4188, allocations: 13.44 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.4189, allocations: 7.156 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.419, allocations: 188.3 kB / 0.5218 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.419, allocations: 1.562 kB / 0.5218 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.4191, allocations: 3.203 kB / 0.5218 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.4192, allocations: 54.52 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4192, allocations: 0 / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.4192, allocations: 0 / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4192, allocations: 5.25 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.324e-05/0.4193, allocations: 27 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.4196, allocations: 283.8 kB / 0.5222 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.4199, allocations: 42.38 kB / 0.5222 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.4199, allocations: 18.22 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.4199, allocations: 5.031 kB / 0.5222 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.42, allocations: 36.25 kB / 0.5223 GB, free: 1.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.42, allocations: 0 / 0.5223 GB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005409/0.4205, allocations: 146.9 kB / 0.5224 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.4206, allocations: 52.78 kB / 0.5225 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4207, allocations: 140.3 kB / 0.5226 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.4207, allocations: 25.7 kB / 0.5226 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.4207, allocations: 104.2 kB / 0.5227 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.4208, allocations: 12.56 kB / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.4208, allocations: 18.83 kB / 0.5227 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.4208, allocations: 323.9 kB / 0.523 GB, free: 316 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.4209, allocations: 19.64 kB / 0.5231 GB, free: 312 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.421, allocations: 21 kB / 0.5231 GB, free: 308 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.4211, allocations: 56.64 kB / 0.5231 GB, free: 284 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4211, allocations: 4 kB / 0.5231 GB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001698/0.4213, allocations: 88.7 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.4213, allocations: 6.141 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4213, allocations: 3.938 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4214, allocations: 1.125 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.4214, allocations: 11.84 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4214, allocations: 1.156 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.4215, allocations: 9.109 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.4215, allocations: 1.094 kB / 0.5233 GB, free: 220 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 (5): * Single equations (assignments): 5 * 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 6.303e-05/0.4215, allocations: 120.5 kB / 0.5234 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.4216, allocations: 7.125 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.4218, allocations: 98.06 kB / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4218, allocations: 1.625 kB / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4218, allocations: 288 / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4218, allocations: 5.75 kB / 0.5235 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.4223, allocations: 347.8 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4223, allocations: 0 / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.4224, allocations: 16.94 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4224, allocations: 0.6094 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4224, allocations: 1.344 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4224, allocations: 11.86 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4224, allocations: 0.7031 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.4226, allocations: 181.7 kB / 0.524 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.4227, allocations: 90.83 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.4227, allocations: 1.875 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.4228, allocations: 9.094 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.4229, allocations: 3.5 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.4229, allocations: 2.656 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.364e-05/0.423, allocations: 115.2 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.423, allocations: 0 / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.4232, allocations: 20 kB / 0.5243 GB, free: 15.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009215/0.4242, allocations: 391.1 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.4244, allocations: 55.98 kB / 0.5247 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4244, allocations: 0 / 0.5247 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.4245, allocations: 30.72 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4248, allocations: 25.77 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.4252, allocations: 178.1 kB / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4255, allocations: 0.6947 MB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.703e-05/0.4256, allocations: 11.11 kB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.4257, allocations: 16.38 kB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4257, allocations: 0 / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of Templates: time 0.004677/0.4303, allocations: 1.129 MB / 0.5267 GB, free: 14.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches