Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 199.9 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.462/1.462, 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.2624/0.2624, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 79.86 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3825, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.005429/0.388, allocations: 1.598 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.3911, allocations: 1.161 MB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.3912, allocations: 1.375 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.3916, allocations: 27.92 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.3921, allocations: 85.73 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.3926, allocations: 114.4 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.3928, allocations: 63.42 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.393, allocations: 18.31 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.3931, allocations: 26.88 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.3933, allocations: 38.05 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.3933, allocations: 4.281 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.3936, allocations: 95.03 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.3937, allocations: 15.7 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.3938, allocations: 23.92 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.3942, allocations: 148.4 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3942, allocations: 4 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3942, allocations: 0 / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3942, allocations: 0 / 0.5343 GB, free: 11.05 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.0008246/0.3951, allocations: 399.9 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.3951, allocations: 10.22 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.3952, allocations: 8.484 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.3956, allocations: 198.3 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3956, allocations: 5.5 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.3956, allocations: 2.531 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.3959, allocations: 76.7 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3959, allocations: 0 / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.396, allocations: 1.094 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.396, allocations: 1.219 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.3961, allocations: 25.69 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.3967, allocations: 283.9 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.3971, allocations: 52.69 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.3972, allocations: 15.94 kB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3972, allocations: 1.188 kB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.3973, allocations: 39.97 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.174e-06/0.3973, allocations: 0 / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008894/0.3982, allocations: 153.7 kB / 0.5356 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.3983, allocations: 78.11 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.3985, allocations: 148.8 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3986, allocations: 26.83 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.3987, allocations: 95.12 kB / 0.5359 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.3987, allocations: 18.39 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.3988, allocations: 21.83 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.399, allocations: 325.5 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3991, allocations: 22.97 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.3993, allocations: 32.83 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.3995, allocations: 54.89 kB / 0.5363 GB, free: 9.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3995, allocations: 0 / 0.5363 GB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003597/0.3999, allocations: 92.02 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4, allocations: 5.562 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4, allocations: 0 / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4, allocations: 0 / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4001, allocations: 14.58 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4001, allocations: 0 / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.4002, allocations: 3.812 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4003, allocations: 5.625 kB / 0.5365 GB, free: 8.973 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 0.0001619/0.4004, allocations: 125.5 kB / 0.5366 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.4005, allocations: 8.078 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.401, allocations: 92 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.401, allocations: 1.312 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.401, allocations: 0 / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.401, allocations: 0 / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.4017, allocations: 372.2 kB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4018, allocations: 0 / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.4019, allocations: 13.3 kB / 0.537 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4019, allocations: 8.844 kB / 0.5371 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4019, allocations: 1.188 kB / 0.5371 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4019, allocations: 3.938 kB / 0.5371 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.402, allocations: 0.9688 kB / 0.5371 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.4024, allocations: 186.2 kB / 0.5372 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.4025, allocations: 87.39 kB / 0.5373 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.4025, allocations: 5.125 kB / 0.5373 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.4027, allocations: 7.344 kB / 0.5373 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.4027, allocations: 1.469 kB / 0.5373 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.4027, allocations: 6.266 kB / 0.5373 GB, free: 8.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.4029, allocations: 112.6 kB / 0.5374 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4029, allocations: 0 / 0.5374 GB, free: 8.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000521/0.4034, allocations: 39.67 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.001896/0.4054, allocations: 494.2 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.4058, allocations: 50.92 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4058, allocations: 0 / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.4059, allocations: 29.17 kB / 0.538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.4064, allocations: 32.95 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.0006819/0.4071, allocations: 172.2 kB / 0.5382 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.4076, allocations: 0.6898 MB / 0.5389 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.4077, allocations: 21.58 kB / 0.5389 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.4078, allocations: 17.77 kB / 0.5389 GB, free: 6.828 MB / 398.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4078, allocations: 1.125 kB / 0.5389 GB, free: 6.828 MB / 398.1 MB Notification: Performance of Templates: time 0.007661/0.4155, allocations: 1.766 MB / 0.5407 GB, free: 5.906 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches