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.001814/0.001814, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.002043/0.002043, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.34/1.34, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2229/0.2229, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4134, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003382/0.4168, allocations: 1.972 MB / 0.5215 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.4188, allocations: 1.145 MB / 0.5226 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.419, allocations: 2.344 kB / 0.5226 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.4193, allocations: 49.08 kB / 0.5227 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.4197, allocations: 151.4 kB / 0.5228 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.4211, allocations: 0.5785 MB / 0.5234 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.4216, allocations: 283.5 kB / 0.5236 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.4218, allocations: 70.75 kB / 0.5237 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.4221, allocations: 126 kB / 0.5238 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.4224, allocations: 177.2 kB / 0.524 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.4224, allocations: 12.25 kB / 0.524 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.4226, allocations: 57.08 kB / 0.5241 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.4228, allocations: 149.4 kB / 0.5242 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.4229, allocations: 155.1 kB / 0.5244 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.4234, allocations: 370.1 kB / 0.5247 GB, free: 0.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4234, allocations: 0 / 0.5247 GB, free: 0.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4234, allocations: 0 / 0.5247 GB, free: 0.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.4234, allocations: 1.062 kB / 0.5247 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.0009812/0.4244, allocations: 0.7465 MB / 0.5254 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4245, allocations: 10.11 kB / 0.5255 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.4246, allocations: 52.12 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.4252, allocations: 446.6 kB / 0.5259 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.4252, allocations: 12.56 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.4253, allocations: 15.09 kB / 0.526 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.4256, allocations: 141.8 kB / 0.5261 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4256, allocations: 5.859 kB / 0.5261 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.4256, allocations: 5.656 kB / 0.5261 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4257, allocations: 1.344 kB / 0.5261 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.4259, allocations: 95.25 kB / 0.5262 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.427, allocations: 0.6783 MB / 0.5269 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.4272, allocations: 116.7 kB / 0.527 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.4273, allocations: 49.02 kB / 0.527 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.4274, allocations: 6.734 kB / 0.527 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4274, allocations: 39.86 kB / 0.5271 GB, free: 14.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.4274, allocations: 0 / 0.5271 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001492/0.4289, allocations: 0.5254 MB / 0.5276 GB, free: 14.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.429, allocations: 84.14 kB / 0.5277 GB, free: 14.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.43, allocations: 0.8582 MB / 0.5285 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.43, allocations: 29.7 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.4302, allocations: 243.3 kB / 0.5287 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.4303, allocations: 61.25 kB / 0.5288 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.4304, allocations: 33.27 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4306, allocations: 376.8 kB / 0.5292 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.4308, allocations: 62.83 kB / 0.5293 GB, free: 13.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.4309, allocations: 80.89 kB / 0.5293 GB, free: 13.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.4313, allocations: 163.7 kB / 0.5295 GB, free: 13.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4313, allocations: 0.75 kB / 0.5295 GB, free: 13.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005242/0.4319, allocations: 238.6 kB / 0.5297 GB, free: 13.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4319, allocations: 4.25 kB / 0.5297 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4319, allocations: 1.031 kB / 0.5297 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4319, allocations: 5.094 kB / 0.5297 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.4321, allocations: 40.62 kB / 0.5298 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4322, allocations: 1.25 kB / 0.5298 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.4323, allocations: 15.11 kB / 0.5298 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.4323, allocations: 3.438 kB / 0.5298 GB, free: 12.99 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.0002493/0.4326, allocations: 223.5 kB / 0.53 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.4327, allocations: 52.06 kB / 0.53 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006713/0.4334, allocations: 293 kB / 0.5303 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4334, allocations: 1.656 kB / 0.5303 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4334, allocations: 1.062 kB / 0.5303 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.4334, allocations: 5.516 kB / 0.5303 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.4346, allocations: 0.7799 MB / 0.5311 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4346, allocations: 1.25 kB / 0.5311 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.4348, allocations: 39.19 kB / 0.5311 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4348, allocations: 5.031 kB / 0.5311 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4348, allocations: 6.547 kB / 0.5311 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.4348, allocations: 5.281 kB / 0.5312 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4349, allocations: 5.156 kB / 0.5312 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.4355, allocations: 412.9 kB / 0.5316 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.4356, allocations: 132 kB / 0.5317 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.4357, allocations: 6.062 kB / 0.5317 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.4359, allocations: 14.3 kB / 0.5317 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.436, allocations: 18.2 kB / 0.5317 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.436, allocations: 4.344 kB / 0.5317 GB, free: 11.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008659/0.4369, allocations: 0.6254 MB / 0.5323 GB, free: 11.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4369, allocations: 1.219 kB / 0.5323 GB, free: 11.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.4373, allocations: 52 kB / 0.5324 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.001058/0.4384, allocations: 410.8 kB / 0.5328 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004657/0.4388, allocations: 163.2 kB / 0.5329 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4389, allocations: 3.938 kB / 0.5329 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.4391, allocations: 83.92 kB / 0.533 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.4398, allocations: 75.36 kB / 0.5331 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.4416, allocations: 0.9131 MB / 0.534 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.4421, allocations: 0.8537 MB / 0.5348 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.4422, allocations: 45 kB / 0.5349 GB, free: 9.566 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4422, allocations: 4 kB / 0.5349 GB, free: 9.562 MB / 398.1 MB Notification: Performance of Templates: time 0.01294/0.4552, allocations: 5.604 MB / 0.5403 GB, free: 6.535 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/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