Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2404/0.2404, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 79.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4082, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003823/0.4121, allocations: 2.042 MB / 0.5337 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.4145, allocations: 1.35 MB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.4146, allocations: 2.75 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.4149, allocations: 58.38 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.4155, allocations: 213.2 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.4169, allocations: 0.5956 MB / 0.5358 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.4173, allocations: 320.1 kB / 0.5361 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.4175, allocations: 70.11 kB / 0.5362 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.4178, allocations: 140.2 kB / 0.5363 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.4181, allocations: 198 kB / 0.5365 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.4181, allocations: 17.94 kB / 0.5365 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.4183, allocations: 60.33 kB / 0.5366 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.4185, allocations: 148.1 kB / 0.5367 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.4186, allocations: 166.6 kB / 0.5369 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.4191, allocations: 395 kB / 0.5373 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4191, allocations: 5.172 kB / 0.5373 GB, free: 9.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4191, allocations: 0 / 0.5373 GB, free: 9.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4192, allocations: 4 kB / 0.5373 GB, free: 9.496 MB / 398.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.001061/0.4202, allocations: 0.7763 MB / 0.538 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4203, allocations: 10.09 kB / 0.538 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.4206, allocations: 76.34 kB / 0.5381 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006796/0.4213, allocations: 456.7 kB / 0.5386 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4213, allocations: 8.344 kB / 0.5386 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.4213, allocations: 15.44 kB / 0.5386 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.4216, allocations: 144.5 kB / 0.5387 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.4217, allocations: 13.02 kB / 0.5387 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.4217, allocations: 1.219 kB / 0.5387 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4217, allocations: 2.312 kB / 0.5387 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.422, allocations: 92.97 kB / 0.5388 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.423, allocations: 0.6908 MB / 0.5395 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.4232, allocations: 117.1 kB / 0.5396 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.4233, allocations: 41.86 kB / 0.5396 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.4234, allocations: 14.75 kB / 0.5397 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4234, allocations: 43.7 kB / 0.5397 GB, free: 7.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.845e-06/0.4234, allocations: 0 / 0.5397 GB, free: 7.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001497/0.4249, allocations: 0.5455 MB / 0.5402 GB, free: 7.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.425, allocations: 83.27 kB / 0.5403 GB, free: 7.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.4261, allocations: 0.9034 MB / 0.5412 GB, free: 6.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4261, allocations: 31.08 kB / 0.5412 GB, free: 6.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.4264, allocations: 256 kB / 0.5415 GB, free: 6.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.4264, allocations: 57.84 kB / 0.5415 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.4265, allocations: 33.2 kB / 0.5416 GB, free: 6.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4267, allocations: 381.6 kB / 0.5419 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.4269, allocations: 62.11 kB / 0.542 GB, free: 5.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.4271, allocations: 77.17 kB / 0.5421 GB, free: 5.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.4274, allocations: 160.2 kB / 0.5422 GB, free: 5.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4274, allocations: 5.266 kB / 0.5422 GB, free: 5.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005004/0.4279, allocations: 239.3 kB / 0.5424 GB, free: 5.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.428, allocations: 4.938 kB / 0.5424 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.428, allocations: 1.125 kB / 0.5424 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.428, allocations: 1.125 kB / 0.5424 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.4282, allocations: 39.44 kB / 0.5425 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4282, allocations: 5.062 kB / 0.5425 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.4284, allocations: 15.14 kB / 0.5425 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.4284, allocations: 11.83 kB / 0.5425 GB, free: 5.641 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.0002281/0.4286, allocations: 213.1 kB / 0.5427 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4287, allocations: 52.88 kB / 0.5428 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006302/0.4294, allocations: 290.4 kB / 0.543 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4294, allocations: 2.156 kB / 0.543 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4294, allocations: 1.125 kB / 0.543 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4294, allocations: 1.188 kB / 0.543 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4306, allocations: 0.8132 MB / 0.5438 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4307, allocations: 0 / 0.5438 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.4308, allocations: 40.12 kB / 0.5439 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4308, allocations: 5.031 kB / 0.5439 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4309, allocations: 2.719 kB / 0.5439 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.4309, allocations: 9.406 kB / 0.5439 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4309, allocations: 0 / 0.5439 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.4314, allocations: 427.2 kB / 0.5443 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.4316, allocations: 135.4 kB / 0.5444 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.4316, allocations: 5.188 kB / 0.5444 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4318, allocations: 10.78 kB / 0.5444 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.4319, allocations: 18.28 kB / 0.5445 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4319, allocations: 4.531 kB / 0.5445 GB, free: 4.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00072/0.4326, allocations: 0.6703 MB / 0.5451 GB, free: 3.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4327, allocations: 4 kB / 0.5451 GB, free: 3.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.433, allocations: 48 kB / 0.5452 GB, free: 3.539 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.0009647/0.434, allocations: 396.1 kB / 0.5456 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.4344, allocations: 159.8 kB / 0.5457 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4344, allocations: 4 kB / 0.5457 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.4346, allocations: 87.89 kB / 0.5458 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.4352, allocations: 89.31 kB / 0.5459 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.4366, allocations: 0.9564 MB / 0.5468 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.437, allocations: 0.8683 MB / 0.5477 GB, free: 1.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.4372, allocations: 43.42 kB / 0.5477 GB, free: 1.023 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4372, allocations: 0 / 0.5477 GB, free: 1.023 MB / 398.1 MB Notification: Performance of Templates: time 0.008456/0.4456, allocations: 5.846 MB / 0.5534 GB, free: 11.18 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches