Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001325/0.001325, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.471/1.471, 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.2344/0.2344, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4179, allocations: 60.81 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003065/0.421, allocations: 1.981 MB / 0.5208 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.4227, allocations: 1.133 MB / 0.5219 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.4228, allocations: 7.156 kB / 0.522 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.4231, allocations: 47.47 kB / 0.522 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.4235, allocations: 152.9 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.4247, allocations: 0.5738 MB / 0.5227 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.4252, allocations: 286 kB / 0.523 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.4254, allocations: 70.59 kB / 0.523 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.4256, allocations: 129.5 kB / 0.5232 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.4259, allocations: 173.9 kB / 0.5233 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.4259, allocations: 12.69 kB / 0.5233 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.426, allocations: 63.67 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.4262, allocations: 145.2 kB / 0.5235 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.4264, allocations: 158.8 kB / 0.5237 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.4268, allocations: 366.4 kB / 0.524 GB, free: 0.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.4269, allocations: 1.281 kB / 0.524 GB, free: 0.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4269, allocations: 0 / 0.524 GB, free: 0.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.4269, allocations: 0 / 0.524 GB, free: 0.5 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000915/0.4278, allocations: 0.7502 MB / 0.5248 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4278, allocations: 10.17 kB / 0.5248 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.816e-05/0.4279, allocations: 51.53 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.4285, allocations: 448.2 kB / 0.5253 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4285, allocations: 8.375 kB / 0.5253 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.4286, allocations: 15.16 kB / 0.5253 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.4289, allocations: 147.2 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4289, allocations: 7.984 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4289, allocations: 1.531 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4289, allocations: 1.531 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.4292, allocations: 96.03 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.4302, allocations: 0.6786 MB / 0.5262 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.4304, allocations: 108.5 kB / 0.5263 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4305, allocations: 48.84 kB / 0.5263 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.4306, allocations: 10.09 kB / 0.5264 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4306, allocations: 39.88 kB / 0.5264 GB, free: 14.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.4306, allocations: 1.375 kB / 0.5264 GB, free: 14.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001374/0.432, allocations: 0.5298 MB / 0.5269 GB, free: 14.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.4321, allocations: 78.86 kB / 0.527 GB, free: 14.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.4331, allocations: 0.8623 MB / 0.5278 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.4331, allocations: 26.8 kB / 0.5279 GB, free: 13.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.4333, allocations: 246.1 kB / 0.5281 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.4334, allocations: 49.95 kB / 0.5281 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.4335, allocations: 42.05 kB / 0.5282 GB, free: 13.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4336, allocations: 367.3 kB / 0.5285 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.4338, allocations: 63.98 kB / 0.5286 GB, free: 13.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.434, allocations: 83.58 kB / 0.5287 GB, free: 13.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.4343, allocations: 164.6 kB / 0.5288 GB, free: 13.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4343, allocations: 0 / 0.5288 GB, free: 13.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004881/0.4348, allocations: 237.6 kB / 0.5291 GB, free: 13.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4349, allocations: 7.938 kB / 0.5291 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4349, allocations: 1.094 kB / 0.5291 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4349, allocations: 1.062 kB / 0.5291 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.4351, allocations: 43.75 kB / 0.5291 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4351, allocations: 1.125 kB / 0.5291 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.4352, allocations: 19.2 kB / 0.5291 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4353, allocations: 5.094 kB / 0.5291 GB, free: 13 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002354/0.4355, allocations: 219.5 kB / 0.5293 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.4356, allocations: 51.38 kB / 0.5294 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007339/0.4364, allocations: 292.2 kB / 0.5297 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4364, allocations: 2.469 kB / 0.5297 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4364, allocations: 5.625 kB / 0.5297 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4364, allocations: 0 / 0.5297 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.4376, allocations: 0.7891 MB / 0.5304 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4376, allocations: 0 / 0.5304 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.4377, allocations: 36.62 kB / 0.5305 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4377, allocations: 1.312 kB / 0.5305 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.4378, allocations: 6.156 kB / 0.5305 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.4378, allocations: 5.062 kB / 0.5305 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4378, allocations: 3.938 kB / 0.5305 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.4383, allocations: 413.8 kB / 0.5309 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.4385, allocations: 136.1 kB / 0.531 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.4385, allocations: 2.312 kB / 0.531 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.4387, allocations: 13.09 kB / 0.531 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.4388, allocations: 22.47 kB / 0.5311 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.4388, allocations: 9.156 kB / 0.5311 GB, free: 11.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006615/0.4395, allocations: 0.6297 MB / 0.5317 GB, free: 11.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4395, allocations: 0 / 0.5317 GB, free: 11.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.4398, allocations: 52.78 kB / 0.5317 GB, free: 11.23 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 (16): * Single equations (assignments): 16 * 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.0009083/0.4407, allocations: 404.1 kB / 0.5321 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004148/0.4412, allocations: 163.9 kB / 0.5323 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4412, allocations: 0 / 0.5323 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.4414, allocations: 86.95 kB / 0.5324 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.442, allocations: 82.22 kB / 0.5324 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.4434, allocations: 0.8915 MB / 0.5333 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.4438, allocations: 0.8699 MB / 0.5342 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.4441, allocations: 84.77 kB / 0.5342 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.4442, allocations: 35.33 kB / 0.5343 GB, free: 9.574 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4442, allocations: 0 / 0.5343 GB, free: 9.574 MB / 398.1 MB Notification: Performance of Templates: time 0.01005/0.4542, allocations: 4.042 MB / 0.5382 GB, free: 7.609 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches