Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 117.2 kB / 17.78 MB, free: 5.254 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.0013/0.0013, allocations: 185 kB / 18.72 MB, free: 4.332 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.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.243/0.243, allocations: 44.2 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.89 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4147, allocations: 60.81 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002743/0.4175, allocations: 1.654 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007146/0.4182, allocations: 422.9 kB / 0.521 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.4183, allocations: 0.9375 kB / 0.521 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.4185, allocations: 60 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.4188, allocations: 56.66 kB / 0.5211 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.4192, allocations: 129.2 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.4193, allocations: 77 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.4194, allocations: 16.11 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/0.4195, allocations: 35.83 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.4196, allocations: 50.12 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.4196, allocations: 7.938 kB / 0.5214 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.4197, allocations: 47.81 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.4198, allocations: 24.08 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.4198, allocations: 31.72 kB / 0.5215 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.4201, allocations: 101.8 kB / 0.5216 GB, free: 1.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4201, allocations: 4.969 kB / 0.5216 GB, free: 1.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4201, allocations: 0 / 0.5216 GB, free: 1.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.4201, allocations: 0 / 0.5216 GB, free: 1.938 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.0004219/0.4205, allocations: 423.5 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4205, allocations: 9.562 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.4206, allocations: 14.05 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4207, allocations: 189.1 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4207, allocations: 2.562 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.4208, allocations: 14.97 kB / 0.5222 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.421, allocations: 63.83 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.421, allocations: 0 / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.421, allocations: 1.062 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.421, allocations: 5.594 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.4211, allocations: 38.66 kB / 0.5223 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.4215, allocations: 299.4 kB / 0.5226 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.4218, allocations: 55.88 kB / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.4219, allocations: 29 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.4219, allocations: 0 / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.4219, allocations: 36.38 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.4219, allocations: 1.125 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001538/0.4235, allocations: 388.5 kB / 0.5231 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4235, allocations: 54.41 kB / 0.5231 GB, free: 0.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.4237, allocations: 182.7 kB / 0.5233 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.4237, allocations: 27.11 kB / 0.5233 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.4238, allocations: 103.3 kB / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.4238, allocations: 40.53 kB / 0.5235 GB, free: 388 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.4238, allocations: 30.34 kB / 0.5235 GB, free: 360 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.4239, allocations: 321.4 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.4241, allocations: 43.11 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4242, allocations: 45.25 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.4245, allocations: 97.02 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4245, allocations: 1.062 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003442/0.4249, allocations: 150.3 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4249, allocations: 5.562 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4249, allocations: 3.938 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4249, allocations: 2.688 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.425, allocations: 27.44 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.425, allocations: 1.938 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.4251, allocations: 9.859 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4251, allocations: 5.75 kB / 0.5242 GB, free: 15.89 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.0001059/0.4252, allocations: 125.6 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.4252, allocations: 10.11 kB / 0.5243 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.4257, allocations: 168 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4257, allocations: 1.75 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4257, allocations: 0.5625 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4257, allocations: 4.656 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.4264, allocations: 478.4 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4264, allocations: 1.312 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.4265, allocations: 28.88 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.4265, allocations: 7.031 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4265, allocations: 4.609 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4265, allocations: 2.156 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4265, allocations: 0.7031 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.4269, allocations: 249.2 kB / 0.5252 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.4269, allocations: 89.2 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.4269, allocations: 5.938 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.427, allocations: 9.969 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.4271, allocations: 7.641 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.4271, allocations: 8.781 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.4272, allocations: 140 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4272, allocations: 3.938 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.4275, allocations: 35.22 kB / 0.5255 GB, free: 14.88 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.001107/0.4286, allocations: 456 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.4289, allocations: 105.9 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4289, allocations: 0 / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.4291, allocations: 52.59 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.4295, allocations: 28.53 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.43, allocations: 266.7 kB / 0.5264 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.4303, allocations: 0.714 MB / 0.5271 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.285e-05/0.4304, allocations: 14.23 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.4304, allocations: 15.58 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4304, allocations: 0 / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.004343/0.4347, allocations: 1.55 MB / 0.5286 GB, free: 13.11 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches