Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 197.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.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 80.08 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4268, allocations: 62.44 MB / 0.531 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.004544/0.4314, allocations: 1.618 MB / 0.5326 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.4326, allocations: 0.5561 MB / 0.5331 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.4327, allocations: 0 / 0.5331 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.4331, allocations: 110.5 kB / 0.5332 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.4335, allocations: 111.8 kB / 0.5334 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.4339, allocations: 113.3 kB / 0.5335 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.4342, allocations: 97.05 kB / 0.5336 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.4343, allocations: 17.56 kB / 0.5336 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.4344, allocations: 43.12 kB / 0.5336 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.4345, allocations: 64.44 kB / 0.5337 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.4346, allocations: 4.031 kB / 0.5337 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.4347, allocations: 45.39 kB / 0.5337 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.4348, allocations: 25.39 kB / 0.5337 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.4348, allocations: 38.2 kB / 0.5338 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.4351, allocations: 121.6 kB / 0.5339 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4351, allocations: 0 / 0.5339 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4351, allocations: 1.344 kB / 0.5339 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.4351, allocations: 0 / 0.5339 GB, free: 11.7 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.0006227/0.4358, allocations: 425 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4358, allocations: 8.938 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.4359, allocations: 14.44 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.4361, allocations: 219.7 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.4361, allocations: 1.5 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.4361, allocations: 2.656 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.4363, allocations: 63.2 kB / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4363, allocations: 0 / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4363, allocations: 1.188 kB / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4364, allocations: 5.016 kB / 0.5346 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.893e-05/0.4365, allocations: 27.81 kB / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.4369, allocations: 310.7 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.437, allocations: 48.09 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.4371, allocations: 20.78 kB / 0.535 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4371, allocations: 1.125 kB / 0.535 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.4371, allocations: 30.56 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.4371, allocations: 5.188 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009694/0.4381, allocations: 243.2 kB / 0.5353 GB, free: 10.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.4382, allocations: 52.66 kB / 0.5353 GB, free: 10.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.4384, allocations: 261.6 kB / 0.5356 GB, free: 10.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4385, allocations: 34.73 kB / 0.5356 GB, free: 10.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.4385, allocations: 106.9 kB / 0.5357 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.4386, allocations: 27.56 kB / 0.5357 GB, free: 10 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.4386, allocations: 23.02 kB / 0.5357 GB, free: 9.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4387, allocations: 331.9 kB / 0.5361 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.4388, allocations: 24.14 kB / 0.5361 GB, free: 9.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.4389, allocations: 32.88 kB / 0.5361 GB, free: 9.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.4391, allocations: 77.52 kB / 0.5362 GB, free: 9.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4391, allocations: 5.391 kB / 0.5362 GB, free: 9.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002653/0.4393, allocations: 117.4 kB / 0.5363 GB, free: 9.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4394, allocations: 5.344 kB / 0.5363 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4394, allocations: 0 / 0.5363 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4394, allocations: 1.156 kB / 0.5363 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4395, allocations: 24.95 kB / 0.5363 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4395, allocations: 5.031 kB / 0.5363 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.4396, allocations: 7 kB / 0.5363 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4396, allocations: 2.469 kB / 0.5363 GB, free: 9.488 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 9.875e-05/0.4397, allocations: 131.6 kB / 0.5365 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.4397, allocations: 14.59 kB / 0.5365 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.44, allocations: 127 kB / 0.5366 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4401, allocations: 1.219 kB / 0.5366 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4401, allocations: 4.938 kB / 0.5366 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4401, allocations: 11.88 kB / 0.5366 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.4407, allocations: 426.1 kB / 0.537 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4407, allocations: 0.9375 kB / 0.537 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.4408, allocations: 17.48 kB / 0.5371 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.4408, allocations: 5 kB / 0.5371 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4408, allocations: 5.75 kB / 0.5371 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4408, allocations: 4.969 kB / 0.5371 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4408, allocations: 0.8438 kB / 0.5371 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.4411, allocations: 213.5 kB / 0.5373 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.4412, allocations: 88.2 kB / 0.5374 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.4412, allocations: 6.078 kB / 0.5374 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.4413, allocations: 7.188 kB / 0.5374 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.4413, allocations: 7.719 kB / 0.5374 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.4413, allocations: 6.312 kB / 0.5374 GB, free: 8.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.4415, allocations: 188.8 kB / 0.5376 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4415, allocations: 0 / 0.5376 GB, free: 8.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.4418, allocations: 22.91 kB / 0.5376 GB, free: 8.418 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.001018/0.4428, allocations: 457.2 kB / 0.538 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.4431, allocations: 74.73 kB / 0.5381 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4431, allocations: 1.031 kB / 0.5381 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.4432, allocations: 40.03 kB / 0.5381 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.4436, allocations: 30.78 kB / 0.5382 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.4442, allocations: 302.9 kB / 0.5384 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.4446, allocations: 0.7118 MB / 0.5391 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.4447, allocations: 25.56 kB / 0.5392 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.4447, allocations: 16.09 kB / 0.5392 GB, free: 7.156 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4447, allocations: 1.344 kB / 0.5392 GB, free: 7.156 MB / 398.1 MB Notification: Performance of Templates: time 0.004621/0.4494, allocations: 1.413 MB / 0.5406 GB, free: 6.438 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches