Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001488, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001695, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 76.09 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4073, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.005247/0.4126, allocations: 1.614 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.4141, allocations: 0.5481 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.4142, allocations: 1.375 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.4147, allocations: 76.67 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.4153, allocations: 106.5 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.4158, allocations: 118.1 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.4161, allocations: 76.8 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.4163, allocations: 21.22 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.4164, allocations: 40.47 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.4166, allocations: 51.67 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.4166, allocations: 7.344 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.4168, allocations: 45.11 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.4169, allocations: 24.34 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.4171, allocations: 33.39 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.4174, allocations: 106.5 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.4175, allocations: 0 / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.4175, allocations: 0 / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.4175, allocations: 1.312 kB / 0.5338 GB, free: 11.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009126/0.4184, allocations: 416.8 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.003e-05/0.4185, allocations: 13.75 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.021e-05/0.4186, allocations: 9.438 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.4189, allocations: 204.3 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.419, allocations: 2.531 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.419, allocations: 2.688 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.4193, allocations: 58.45 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.4193, allocations: 5.031 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4193, allocations: 0 / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4193, allocations: 1.219 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.4195, allocations: 35.84 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.42, allocations: 303.7 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.4201, allocations: 44.5 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.4202, allocations: 17.19 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.4202, allocations: 5.312 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4203, allocations: 38.56 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.4203, allocations: 1.375 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00108/0.4214, allocations: 249.7 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.4214, allocations: 60.77 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.4217, allocations: 214.4 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.4217, allocations: 25.7 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.4218, allocations: 106.6 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.4218, allocations: 22.41 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.4219, allocations: 27.58 kB / 0.5356 GB, free: 9.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.422, allocations: 323.1 kB / 0.5359 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/0.4221, allocations: 28.14 kB / 0.5359 GB, free: 9.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.4223, allocations: 33.28 kB / 0.536 GB, free: 9.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.4225, allocations: 76.94 kB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4225, allocations: 1.062 kB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002573/0.4227, allocations: 109.2 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4228, allocations: 5.344 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.4228, allocations: 0 / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.4228, allocations: 4 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4229, allocations: 17.92 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4229, allocations: 1.344 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.423, allocations: 6.469 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.423, allocations: 2.75 kB / 0.5362 GB, free: 9.355 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 (8): * Single equations (assignments): 8 * 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.0001214/0.4231, allocations: 132.7 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.4232, allocations: 13.41 kB / 0.5363 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.4235, allocations: 134.4 kB / 0.5364 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4235, allocations: 1.188 kB / 0.5364 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4235, allocations: 0 / 0.5364 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4236, allocations: 7.875 kB / 0.5364 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.4241, allocations: 419.9 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4242, allocations: 1.156 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.4242, allocations: 17.61 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4243, allocations: 13.09 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4243, allocations: 1.219 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4243, allocations: 1.031 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4243, allocations: 1.062 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.4246, allocations: 216.8 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.4247, allocations: 91.73 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.4247, allocations: 1.031 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.4248, allocations: 11.84 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.4249, allocations: 7.109 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4249, allocations: 2.797 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.4251, allocations: 172.6 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.884e-06/0.4251, allocations: 0 / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.4254, allocations: 25.52 kB / 0.5374 GB, free: 8.277 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 (8): * Single equations (assignments): 8 * 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.001139/0.4265, allocations: 461.5 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.4268, allocations: 72.14 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4268, allocations: 4 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.427, allocations: 39.55 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.4274, allocations: 22.98 kB / 0.538 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.428, allocations: 267.5 kB / 0.5382 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.4283, allocations: 0.7129 MB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.789e-05/0.4284, allocations: 24.97 kB / 0.5389 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.4285, allocations: 20.58 kB / 0.539 GB, free: 7.039 MB / 398.1 MB Notification: Performance of SimCode: time 2.735e-06/0.4285, allocations: 1.375 kB / 0.539 GB, free: 7.039 MB / 398.1 MB Notification: Performance of Templates: time 0.004773/0.4333, allocations: 1.381 MB / 0.5403 GB, free: 6.34 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches