Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002021/0.002021, allocations: 118.8 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.003226/0.003226, allocations: 198 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.566/1.566, 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.2341/0.2341, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 83.86 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3994, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003039/0.4024, allocations: 1.621 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.4035, allocations: 0.5441 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.4035, allocations: 1.5 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.4039, allocations: 78.52 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.4042, allocations: 101.2 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.4045, allocations: 109.5 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.4047, allocations: 87.78 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.4048, allocations: 20.77 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.4049, allocations: 30.5 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.405, allocations: 48.58 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.405, allocations: 2.75 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.4051, allocations: 40.86 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.4052, allocations: 24.16 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.4052, allocations: 37.19 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.4054, allocations: 104.8 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4054, allocations: 0 / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4054, allocations: 4 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4054, allocations: 1.375 kB / 0.5338 GB, free: 11.54 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.000493/0.4059, allocations: 408.1 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.406, allocations: 9.625 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.406, allocations: 12.88 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.4062, allocations: 199 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.4062, allocations: 1.75 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.4063, allocations: 7.062 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.4064, allocations: 67.53 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4065, allocations: 0 / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4065, allocations: 1.375 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4065, allocations: 0 / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.93e-05/0.4066, allocations: 28.47 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.407, allocations: 303 kB / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.4071, allocations: 48.38 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.4072, allocations: 25.12 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.4072, allocations: 0 / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.4072, allocations: 31.94 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4072, allocations: 0 / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009057/0.4082, allocations: 242.2 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.4082, allocations: 52.5 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.4085, allocations: 208.4 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.4085, allocations: 25.7 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.4086, allocations: 106.1 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.4086, allocations: 29.95 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.4087, allocations: 32.55 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4088, allocations: 326.8 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.4089, allocations: 23.83 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.409, allocations: 32.94 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.4091, allocations: 73.23 kB / 0.536 GB, free: 9.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4091, allocations: 1.062 kB / 0.536 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002251/0.4094, allocations: 112.2 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4094, allocations: 5.75 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4094, allocations: 0 / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4094, allocations: 1.188 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.4095, allocations: 25.67 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4096, allocations: 0 / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.4096, allocations: 7.344 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.4096, allocations: 2.281 kB / 0.5361 GB, free: 9.387 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.0001084/0.4097, allocations: 131.7 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.4098, allocations: 13.69 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.4101, allocations: 137.3 kB / 0.5364 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4101, allocations: 1.125 kB / 0.5364 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4101, allocations: 1.25 kB / 0.5364 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4101, allocations: 3.938 kB / 0.5364 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005389/0.4107, allocations: 418.3 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4107, allocations: 0 / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/0.4107, allocations: 17.86 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4108, allocations: 5.125 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4108, allocations: 6.062 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4108, allocations: 1.188 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4108, allocations: 0 / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.4111, allocations: 216.3 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.4111, allocations: 92.19 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4112, allocations: 1.188 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.4112, allocations: 4.281 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.4113, allocations: 7.266 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4113, allocations: 10.41 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.4114, allocations: 149.7 kB / 0.5373 GB, free: 8.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.4115, allocations: 4.625 kB / 0.5373 GB, free: 8.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.4117, allocations: 22.72 kB / 0.5373 GB, free: 8.328 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.001061/0.4128, allocations: 456 kB / 0.5378 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.413, allocations: 71.77 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.413, allocations: 0 / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.4132, allocations: 43.75 kB / 0.5379 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.4135, allocations: 26.81 kB / 0.5379 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.4142, allocations: 258.4 kB / 0.5381 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.4145, allocations: 0.7071 MB / 0.5388 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.01e-05/0.4146, allocations: 17.19 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.4146, allocations: 16.86 kB / 0.5389 GB, free: 7.102 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4146, allocations: 0 / 0.5389 GB, free: 7.102 MB / 398.1 MB Notification: Performance of Templates: time 0.004256/0.4189, allocations: 1.396 MB / 0.5402 GB, free: 6.391 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches