Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 79.86 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4242, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003497/0.4277, allocations: 1.608 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.4297, allocations: 1.159 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.4298, allocations: 1.375 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.4301, allocations: 21.36 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.4304, allocations: 84.36 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.4307, allocations: 111.4 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.4309, allocations: 71.33 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.431, allocations: 14.86 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.4311, allocations: 25.48 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.4313, allocations: 34.84 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.4313, allocations: 4.125 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.4315, allocations: 104.1 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.4316, allocations: 10.69 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.4316, allocations: 21.36 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.4319, allocations: 146.2 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4319, allocations: 1.219 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4319, allocations: 0 / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.4319, allocations: 3.938 kB / 0.5343 GB, free: 11.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005428/0.4325, allocations: 400 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4325, allocations: 9 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.4325, allocations: 9.375 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.4328, allocations: 190 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.4328, allocations: 1.75 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.4328, allocations: 10.47 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.433, allocations: 61.25 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.433, allocations: 3.938 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.433, allocations: 3.984 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.433, allocations: 1.031 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.233e-05/0.4331, allocations: 26.11 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.4336, allocations: 287.7 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.4338, allocations: 49.09 kB / 0.5353 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.4339, allocations: 19.88 kB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4339, allocations: 1.031 kB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.434, allocations: 31.41 kB / 0.5354 GB, free: 9.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.434, allocations: 4 kB / 0.5354 GB, free: 9.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006001/0.4346, allocations: 158.6 kB / 0.5356 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.4347, allocations: 78.05 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.4348, allocations: 148.6 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.4348, allocations: 25.7 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.4349, allocations: 91.58 kB / 0.5359 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.4349, allocations: 25.91 kB / 0.5359 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.435, allocations: 19.02 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4351, allocations: 319.9 kB / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/0.4352, allocations: 24.56 kB / 0.5363 GB, free: 9.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.4353, allocations: 35.86 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4354, allocations: 52.08 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4354, allocations: 0 / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.4356, allocations: 87.28 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4357, allocations: 4.625 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4357, allocations: 1.188 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4357, allocations: 0 / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.4358, allocations: 14.2 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4358, allocations: 0 / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.4358, allocations: 11.5 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4359, allocations: 10.03 kB / 0.5365 GB, free: 8.969 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 (5): * Single equations (assignments): 5 * 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.144e-05/0.4359, allocations: 118.2 kB / 0.5366 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.436, allocations: 7 kB / 0.5366 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.4362, allocations: 100.8 kB / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4363, allocations: 320 / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4363, allocations: 1.188 kB / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4363, allocations: 0 / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.4368, allocations: 363.3 kB / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4368, allocations: 0 / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.4368, allocations: 18.2 kB / 0.537 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4368, allocations: 0 / 0.537 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4369, allocations: 5.375 kB / 0.537 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4369, allocations: 3.938 kB / 0.537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4369, allocations: 1.375 kB / 0.537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.4371, allocations: 186 kB / 0.5372 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.4372, allocations: 83.75 kB / 0.5373 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.4372, allocations: 0 / 0.5373 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.4373, allocations: 7.906 kB / 0.5373 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.4373, allocations: 9.359 kB / 0.5373 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.4373, allocations: 2.75 kB / 0.5373 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.4375, allocations: 111.5 kB / 0.5374 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4375, allocations: 4.969 kB / 0.5374 GB, free: 8.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.4378, allocations: 44.39 kB / 0.5375 GB, free: 8.004 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 (5): * Single equations (assignments): 5 * 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.001215/0.439, allocations: 0.4939 MB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.4392, allocations: 50.22 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4393, allocations: 1.062 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.928e-05/0.4394, allocations: 25.2 kB / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.4397, allocations: 18.98 kB / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.4402, allocations: 174.1 kB / 0.5382 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4406, allocations: 0.6896 MB / 0.5389 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.4407, allocations: 26.03 kB / 0.5389 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.4407, allocations: 18.16 kB / 0.5389 GB, free: 6.824 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4408, allocations: 4 kB / 0.5389 GB, free: 6.82 MB / 398.1 MB Notification: Performance of Templates: time 0.004782/0.4455, allocations: 1.765 MB / 0.5407 GB, free: 5.902 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches