Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001746/0.001746, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002702/0.002703, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4112, allocations: 62.45 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003277/0.4145, allocations: 1.653 MB / 0.5326 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.4165, allocations: 1.199 MB / 0.5338 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.4165, allocations: 1.375 kB / 0.5338 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.4168, allocations: 31.91 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.4171, allocations: 85.73 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.4175, allocations: 172.7 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.4177, allocations: 79.39 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.4178, allocations: 21.59 kB / 0.5342 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.853e-05/0.4179, allocations: 30.86 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.4181, allocations: 49.58 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.4181, allocations: 4.125 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.4183, allocations: 100.1 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.4184, allocations: 18.81 kB / 0.5344 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.4184, allocations: 25.36 kB / 0.5344 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.4187, allocations: 154.6 kB / 0.5345 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4187, allocations: 0 / 0.5345 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4187, allocations: 0 / 0.5345 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4187, allocations: 0 / 0.5345 GB, free: 11.12 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.0005653/0.4193, allocations: 414.9 kB / 0.5349 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4193, allocations: 13.89 kB / 0.535 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.4194, allocations: 12.12 kB / 0.535 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.4196, allocations: 195 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4196, allocations: 5.391 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.4197, allocations: 2.562 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.4199, allocations: 83.69 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4199, allocations: 4 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4199, allocations: 5.031 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4199, allocations: 1.094 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.4201, allocations: 38.58 kB / 0.5353 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.4206, allocations: 304.9 kB / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.4207, allocations: 58.27 kB / 0.5356 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.833e-05/0.4208, allocations: 24.09 kB / 0.5357 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4208, allocations: 0.7188 kB / 0.5357 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.4209, allocations: 31.62 kB / 0.5357 GB, free: 9.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.4209, allocations: 0.875 kB / 0.5357 GB, free: 9.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008641/0.4218, allocations: 238.1 kB / 0.5359 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.4218, allocations: 78.23 kB / 0.536 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.422, allocations: 152 kB / 0.5361 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.422, allocations: 26.48 kB / 0.5362 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.4221, allocations: 100.4 kB / 0.5363 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.4221, allocations: 25.86 kB / 0.5363 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.4222, allocations: 24.59 kB / 0.5363 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4223, allocations: 321.1 kB / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.4225, allocations: 41.44 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.4226, allocations: 49.16 kB / 0.5367 GB, free: 9.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.4229, allocations: 96.17 kB / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4229, allocations: 0 / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003058/0.4232, allocations: 124.1 kB / 0.5369 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4232, allocations: 5.094 kB / 0.5369 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4232, allocations: 5.234 kB / 0.5369 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4232, allocations: 0 / 0.5369 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4234, allocations: 22.58 kB / 0.5369 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4234, allocations: 1.281 kB / 0.5369 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.4235, allocations: 13.55 kB / 0.5369 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4235, allocations: 2.125 kB / 0.537 GB, free: 8.902 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 (7): * Single equations (assignments): 7 * 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 9.615e-05/0.4236, allocations: 120.4 kB / 0.5371 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.4236, allocations: 11.31 kB / 0.5371 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.424, allocations: 138.4 kB / 0.5372 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.424, allocations: 1.5 kB / 0.5372 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.424, allocations: 0 / 0.5372 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.424, allocations: 9.391 kB / 0.5372 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.4246, allocations: 413.8 kB / 0.5376 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4246, allocations: 7.938 kB / 0.5376 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.4247, allocations: 18.58 kB / 0.5376 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4247, allocations: 1.344 kB / 0.5376 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4247, allocations: 3.938 kB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4248, allocations: 5.375 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4248, allocations: 0 / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.4251, allocations: 228.6 kB / 0.5379 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.4252, allocations: 86.56 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.4252, allocations: 9.438 kB / 0.538 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.4253, allocations: 10.45 kB / 0.538 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.4253, allocations: 3.156 kB / 0.538 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.4254, allocations: 1.344 kB / 0.538 GB, free: 7.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.4255, allocations: 117 kB / 0.5381 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4255, allocations: 3.938 kB / 0.5381 GB, free: 7.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.4258, allocations: 42.83 kB / 0.5381 GB, free: 7.859 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.00113/0.4269, allocations: 488.4 kB / 0.5386 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000333/0.4273, allocations: 89.02 kB / 0.5387 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.4273, allocations: 0 / 0.5387 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.4274, allocations: 56.94 kB / 0.5387 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.4278, allocations: 24.23 kB / 0.5388 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.4284, allocations: 218.2 kB / 0.539 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.4287, allocations: 0.6984 MB / 0.5396 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.217e-05/0.4288, allocations: 31.03 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.4288, allocations: 19.28 kB / 0.5397 GB, free: 6.625 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4288, allocations: 0 / 0.5397 GB, free: 6.625 MB / 398.1 MB Notification: Performance of Templates: time 0.005077/0.4339, allocations: 1.942 MB / 0.5416 GB, free: 5.609 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches