Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001439/0.001439, allocations: 183.1 kB / 18.71 MB, free: 4.344 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.422/1.422, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2233/0.2233, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4094, allocations: 60.83 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003028/0.4125, allocations: 1.616 MB / 0.5205 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007811/0.4133, allocations: 421.1 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.4134, allocations: 1 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.4137, allocations: 84.11 kB / 0.521 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.414, allocations: 75.48 kB / 0.5211 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.4143, allocations: 95.52 kB / 0.5212 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.4145, allocations: 90.55 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4146, allocations: 22.23 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.891e-05/0.4146, allocations: 37.58 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.4148, allocations: 60.02 kB / 0.5214 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.4148, allocations: 4.469 kB / 0.5214 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.4149, allocations: 45.83 kB / 0.5214 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.415, allocations: 33.39 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.415, allocations: 40.88 kB / 0.5215 GB, free: 2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.4152, allocations: 117.8 kB / 0.5216 GB, free: 1.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4152, allocations: 0.5625 kB / 0.5216 GB, free: 1.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4152, allocations: 0 / 0.5216 GB, free: 1.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.4153, allocations: 5.188 kB / 0.5216 GB, free: 1.949 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004586/0.4157, allocations: 421 kB / 0.522 GB, free: 1.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4158, allocations: 9.781 kB / 0.522 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.4158, allocations: 16.09 kB / 0.522 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.416, allocations: 216.4 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.416, allocations: 2.406 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.416, allocations: 7.594 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.4162, allocations: 75.34 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4162, allocations: 0.7812 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4162, allocations: 1.094 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4162, allocations: 5.781 kB / 0.5223 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.4164, allocations: 39.86 kB / 0.5224 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.4167, allocations: 330.9 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.4169, allocations: 59.31 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.4169, allocations: 27.03 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.417, allocations: 5 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.417, allocations: 40.17 kB / 0.5228 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.417, allocations: 4 kB / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001021/0.418, allocations: 299.8 kB / 0.5231 GB, free: 0.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.4181, allocations: 53.56 kB / 0.5231 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.4183, allocations: 237.7 kB / 0.5234 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.4183, allocations: 30.95 kB / 0.5234 GB, free: 476 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.4184, allocations: 109.5 kB / 0.5235 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.4184, allocations: 40.58 kB / 0.5235 GB, free: 340 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.4184, allocations: 31.92 kB / 0.5236 GB, free: 312 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.4185, allocations: 325.2 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.4186, allocations: 36.27 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.4187, allocations: 39.45 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.4189, allocations: 93.19 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.4189, allocations: 1.281 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002658/0.4192, allocations: 133.9 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4192, allocations: 4.875 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4192, allocations: 1.312 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4193, allocations: 3.938 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.4194, allocations: 29.72 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.4194, allocations: 1.828 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.4195, allocations: 12.33 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.4195, allocations: 4.062 kB / 0.5242 GB, free: 15.84 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 (13): * Single equations (assignments): 13 * 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.0001436/0.4197, allocations: 134.5 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.4197, allocations: 11.12 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.4201, allocations: 162.1 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4201, allocations: 9.938 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4202, allocations: 0 / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4202, allocations: 0.8438 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.4209, allocations: 473.9 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.421, allocations: 0.8906 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.4211, allocations: 29.05 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.4211, allocations: 4.031 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4211, allocations: 3.953 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4211, allocations: 1.438 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4211, allocations: 0 / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.4214, allocations: 248 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.4215, allocations: 90.17 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.4215, allocations: 12.5 kB / 0.5253 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.4216, allocations: 6.234 kB / 0.5254 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.4217, allocations: 7.219 kB / 0.5254 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.4217, allocations: 12.52 kB / 0.5254 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.4219, allocations: 172 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4219, allocations: 0 / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.4221, allocations: 27.98 kB / 0.5256 GB, free: 14.82 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 (13): * Single equations (assignments): 13 * 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.00114/0.4233, allocations: 450.7 kB / 0.526 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.4236, allocations: 98.81 kB / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4236, allocations: 0 / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.4237, allocations: 54.69 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.4241, allocations: 25.06 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.4248, allocations: 299.6 kB / 0.5264 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.4251, allocations: 0.7195 MB / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.965e-05/0.4252, allocations: 22.89 kB / 0.5272 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.4252, allocations: 16.86 kB / 0.5272 GB, free: 13.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4252, allocations: 0 / 0.5272 GB, free: 13.65 MB / 398.1 MB Notification: Performance of Templates: time 0.004948/0.4302, allocations: 1.555 MB / 0.5287 GB, free: 13.07 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches