Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 76.09 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4015, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003413/0.405, allocations: 1.652 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.4063, allocations: 0.5557 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.103e-05/0.4064, allocations: 1.344 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.4068, allocations: 37.84 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.4072, allocations: 81.27 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.4076, allocations: 120 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.4078, allocations: 83.8 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.4082, allocations: 33.72 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.4083, allocations: 37.19 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.4084, allocations: 37.22 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.4085, allocations: 4.719 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.4086, allocations: 46.27 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.4087, allocations: 20.45 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.4087, allocations: 46.5 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.409, allocations: 112 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.409, allocations: 5.094 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.409, allocations: 3.938 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.409, allocations: 0 / 0.5338 GB, free: 11.47 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006745/0.4097, allocations: 405.2 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4098, allocations: 10.98 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.4098, allocations: 13.88 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.41, allocations: 198.9 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.4101, allocations: 3.125 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.4101, allocations: 8.531 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.4103, allocations: 83.66 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4103, allocations: 1.312 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4103, allocations: 0 / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4103, allocations: 1.375 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.4105, allocations: 40.72 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.4111, allocations: 339.2 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.4112, allocations: 68.8 kB / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.494e-05/0.4113, allocations: 23.84 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.4113, allocations: 1.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.4114, allocations: 35.88 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4114, allocations: 0 / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001185/0.4126, allocations: 330.5 kB / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.4126, allocations: 53.5 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.4129, allocations: 166.2 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4129, allocations: 26.83 kB / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.413, allocations: 104.5 kB / 0.5356 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.413, allocations: 43.92 kB / 0.5357 GB, free: 9.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.4131, allocations: 27.53 kB / 0.5357 GB, free: 9.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002967/0.4134, allocations: 322 kB / 0.536 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.4136, allocations: 43.53 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.4137, allocations: 46.03 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.414, allocations: 121.3 kB / 0.5362 GB, free: 9.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.414, allocations: 4 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003011/0.4143, allocations: 146.9 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4144, allocations: 8.188 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4144, allocations: 1.062 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4144, allocations: 1.125 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.4146, allocations: 28.33 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4146, allocations: 0.9688 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.4147, allocations: 11.36 kB / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.4147, allocations: 7.281 kB / 0.5364 GB, free: 9.195 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 (13): * Single equations (assignments): 13 * 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.000173/0.4149, allocations: 126 kB / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.4149, allocations: 16.31 kB / 0.5366 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.4154, allocations: 191.1 kB / 0.5367 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4154, allocations: 1.094 kB / 0.5367 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4154, allocations: 1.062 kB / 0.5367 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.4154, allocations: 0 / 0.5367 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/0.4162, allocations: 0.4948 MB / 0.5372 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4163, allocations: 0.9688 kB / 0.5372 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.4164, allocations: 28.28 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4164, allocations: 1.156 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4164, allocations: 2.25 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4164, allocations: 1 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4164, allocations: 1.156 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.4168, allocations: 252 kB / 0.5375 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.4168, allocations: 88.59 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.4169, allocations: 5.188 kB / 0.5376 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.417, allocations: 3.812 kB / 0.5376 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.417, allocations: 9.359 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.417, allocations: 11.22 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.4172, allocations: 131.8 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4172, allocations: 0 / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.4174, allocations: 25.97 kB / 0.5378 GB, free: 8.066 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 (13): * Single equations (assignments): 13 * 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.0011/0.4186, allocations: 459.7 kB / 0.5382 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.4189, allocations: 113 kB / 0.5383 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4189, allocations: 1.156 kB / 0.5383 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.419, allocations: 59.44 kB / 0.5384 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.4194, allocations: 25.98 kB / 0.5384 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.42, allocations: 267 kB / 0.5386 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.4204, allocations: 0.7092 MB / 0.5393 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.585e-05/0.4205, allocations: 36.83 kB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.4205, allocations: 20.47 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4205, allocations: 0 / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of Templates: time 0.004622/0.4252, allocations: 1.595 MB / 0.541 GB, free: 5.984 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches