Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.00181/0.00181, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.4/1.4, 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.2248/0.2248, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 60.09 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4071, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002845/0.41, allocations: 1.647 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.4107, allocations: 431 kB / 0.5209 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.4108, allocations: 1.031 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007116/0.4115, allocations: 454.2 kB / 0.5214 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004532/0.412, allocations: 249.4 kB / 0.5216 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.4124, allocations: 140.7 kB / 0.5218 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.4128, allocations: 171.3 kB / 0.5219 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.4129, allocations: 19.41 kB / 0.5219 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.4131, allocations: 110.4 kB / 0.522 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.4134, allocations: 220.3 kB / 0.5223 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.4134, allocations: 2.938 kB / 0.5223 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.4135, allocations: 48.52 kB / 0.5223 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.4137, allocations: 88.84 kB / 0.5224 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.4137, allocations: 100.7 kB / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.4141, allocations: 269.5 kB / 0.5227 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4141, allocations: 0 / 0.5227 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4141, allocations: 1.812 kB / 0.5227 GB, free: 1.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4142, allocations: 4 kB / 0.5227 GB, free: 1.738 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000675/0.4148, allocations: 0.6435 MB / 0.5234 GB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4149, allocations: 7.875 kB / 0.5234 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.415, allocations: 44.16 kB / 0.5234 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.4152, allocations: 296.3 kB / 0.5237 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4152, allocations: 2.812 kB / 0.5237 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.4153, allocations: 8.125 kB / 0.5237 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.4155, allocations: 66.98 kB / 0.5238 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4155, allocations: 5.531 kB / 0.5238 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4155, allocations: 4.734 kB / 0.5238 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4155, allocations: 0.875 kB / 0.5238 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.4157, allocations: 39.03 kB / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.4162, allocations: 396.5 kB / 0.5242 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.4165, allocations: 62.22 kB / 0.5243 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.592e-05/0.4166, allocations: 24.66 kB / 0.5243 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.4166, allocations: 2.234 kB / 0.5243 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.4166, allocations: 30.56 kB / 0.5243 GB, free: 400 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.4166, allocations: 1.312 kB / 0.5243 GB, free: 400 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001451/0.4181, allocations: 460.3 kB / 0.5248 GB, free: 228 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.4181, allocations: 56.47 kB / 0.5248 GB, free: 160 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008672/0.419, allocations: 0.8523 MB / 0.5256 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.419, allocations: 29.7 kB / 0.5257 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.4192, allocations: 211.5 kB / 0.5259 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.4193, allocations: 35.58 kB / 0.5259 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.4193, allocations: 29.97 kB / 0.5259 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4195, allocations: 363.5 kB / 0.5263 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4196, allocations: 42.75 kB / 0.5263 GB, free: 15.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.4197, allocations: 44.25 kB / 0.5264 GB, free: 15.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4199, allocations: 99.34 kB / 0.5265 GB, free: 15.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.42, allocations: 1.438 kB / 0.5265 GB, free: 15.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003287/0.4203, allocations: 169.6 kB / 0.5266 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4203, allocations: 5.25 kB / 0.5266 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4203, allocations: 1.312 kB / 0.5266 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4204, allocations: 0 / 0.5266 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4205, allocations: 32.14 kB / 0.5267 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4205, allocations: 5.312 kB / 0.5267 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.753e-05/0.4206, allocations: 17.27 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4206, allocations: 3.281 kB / 0.5267 GB, free: 14.93 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 (11): * Single equations (assignments): 11 * 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.0002036/0.4208, allocations: 214.9 kB / 0.5269 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.4209, allocations: 42.97 kB / 0.5269 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.4213, allocations: 199.3 kB / 0.5271 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4213, allocations: 10.75 kB / 0.5271 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4213, allocations: 0 / 0.5271 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4213, allocations: 3.984 kB / 0.5271 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.4221, allocations: 0.5639 MB / 0.5277 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4221, allocations: 4.062 kB / 0.5277 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/0.4222, allocations: 25.8 kB / 0.5277 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4222, allocations: 0 / 0.5277 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4222, allocations: 6.391 kB / 0.5277 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4222, allocations: 8.906 kB / 0.5277 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4222, allocations: 1 kB / 0.5277 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.4227, allocations: 280.3 kB / 0.528 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.4228, allocations: 115.1 kB / 0.5281 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.4228, allocations: 1.375 kB / 0.5281 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.4229, allocations: 11.09 kB / 0.5281 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.423, allocations: 8.859 kB / 0.5281 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.423, allocations: 2.875 kB / 0.5281 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008549/0.4239, allocations: 0.6562 MB / 0.5288 GB, free: 13.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4239, allocations: 0 / 0.5288 GB, free: 13.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.4242, allocations: 32.78 kB / 0.5288 GB, free: 13.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001166/0.4254, allocations: 458.1 kB / 0.5292 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003946/0.4258, allocations: 109.9 kB / 0.5293 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4258, allocations: 0 / 0.5293 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.4259, allocations: 63.45 kB / 0.5294 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.4264, allocations: 30.09 kB / 0.5294 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.4277, allocations: 0.8225 MB / 0.5302 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.4281, allocations: 0.8348 MB / 0.5311 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.068e-05/0.4282, allocations: 15.61 kB / 0.5311 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.4282, allocations: 19.39 kB / 0.5311 GB, free: 11.9 MB / 398.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4283, allocations: 0 / 0.5311 GB, free: 11.9 MB / 398.1 MB Notification: Performance of Templates: time 0.00564/0.4339, allocations: 1.861 MB / 0.5329 GB, free: 10.97 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches