Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 114.4 kB / 17.78 MB, free: 5.246 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.001631/0.001632, allocations: 183 kB / 18.71 MB, free: 4.32 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.424/1.424, allocations: 222.9 MB / 242.4 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.245/0.245, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4111, allocations: 60.82 MB / 0.5189 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.0034/0.4146, allocations: 1.598 MB / 0.5205 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007878/0.4154, allocations: 409.8 kB / 0.5209 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.4155, allocations: 2.031 kB / 0.5209 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.4159, allocations: 113.2 kB / 0.521 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.4162, allocations: 82.5 kB / 0.5211 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.4165, allocations: 107.5 kB / 0.5212 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.4167, allocations: 72.81 kB / 0.5212 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.4169, allocations: 22.28 kB / 0.5213 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.417, allocations: 46.48 kB / 0.5213 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.4171, allocations: 66.12 kB / 0.5214 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.4172, allocations: 2.25 kB / 0.5214 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.4173, allocations: 39.8 kB / 0.5214 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.4174, allocations: 30.48 kB / 0.5214 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.4174, allocations: 30.73 kB / 0.5215 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.4177, allocations: 116.6 kB / 0.5216 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4177, allocations: 0 / 0.5216 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4177, allocations: 1.438 kB / 0.5216 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.4177, allocations: 4.656 kB / 0.5216 GB, free: 1.988 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.000509/0.4182, allocations: 412.5 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4183, allocations: 10.61 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.4183, allocations: 9.812 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.4185, allocations: 207.8 kB / 0.5222 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4185, allocations: 1.594 kB / 0.5222 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.4186, allocations: 2.625 kB / 0.5222 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.4187, allocations: 66.38 kB / 0.5223 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4188, allocations: 4.75 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4188, allocations: 0 / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.4188, allocations: 1.25 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.4189, allocations: 25.58 kB / 0.5223 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.4193, allocations: 308.5 kB / 0.5226 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.4194, allocations: 49.64 kB / 0.5226 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.4195, allocations: 26.91 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.4195, allocations: 1.984 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.4195, allocations: 36.67 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4195, allocations: 0 / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009561/0.4205, allocations: 239.9 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.4205, allocations: 52.53 kB / 0.523 GB, free: 0.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.4208, allocations: 243.7 kB / 0.5232 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.4208, allocations: 25.7 kB / 0.5232 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.4209, allocations: 111.1 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.4209, allocations: 28.27 kB / 0.5234 GB, free: 460 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.421, allocations: 21.67 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.4211, allocations: 331.3 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.64e-05/0.4212, allocations: 30.25 kB / 0.5237 GB, free: 100 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.4213, allocations: 30.62 kB / 0.5238 GB, free: 92 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.4214, allocations: 72.17 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4215, allocations: 0 / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002261/0.4217, allocations: 113.9 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4217, allocations: 5.344 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4217, allocations: 0.6094 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4217, allocations: 1.781 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4218, allocations: 16.19 kB / 0.524 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.493e-05/0.4219, allocations: 6.25 kB / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.4219, allocations: 4.062 kB / 0.524 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.422, allocations: 5.5 kB / 0.524 GB, free: 15.99 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 (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.0001256/0.4221, allocations: 136.3 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.4221, allocations: 23.05 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.4225, allocations: 136.5 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4225, allocations: 2.906 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4225, allocations: 3.938 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4225, allocations: 0.6094 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/0.4231, allocations: 420 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4231, allocations: 3.828 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.4232, allocations: 25.98 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4232, allocations: 0 / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4232, allocations: 2.359 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4232, allocations: 1.25 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4232, allocations: 0 / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.4235, allocations: 214.9 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.4236, allocations: 96.58 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.4236, allocations: 2.297 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.4237, allocations: 5.328 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.4238, allocations: 9.953 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.4238, allocations: 6.828 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.424, allocations: 187.3 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.424, allocations: 4 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.4243, allocations: 24.59 kB / 0.5252 GB, free: 15 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.001137/0.4254, allocations: 449.5 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.4257, allocations: 79.14 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4257, allocations: 0 / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.4258, allocations: 38.64 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4261, allocations: 18.88 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.4268, allocations: 293.6 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.4272, allocations: 0.7217 MB / 0.5268 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.531e-05/0.4272, allocations: 21.27 kB / 0.5268 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.4273, allocations: 14.06 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4273, allocations: 0 / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.006061/0.4334, allocations: 1.377 MB / 0.5281 GB, free: 13.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches