Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001306, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 72.09 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3733, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003058/0.3764, allocations: 1.653 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3775, allocations: 0.5373 MB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.3776, allocations: 1.875 kB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.3778, allocations: 37.52 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.3781, allocations: 85.67 kB / 0.5339 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.3784, allocations: 99.72 kB / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3786, allocations: 78.8 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3787, allocations: 31.19 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.3788, allocations: 41.42 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.3789, allocations: 44.14 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3789, allocations: 4.125 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.703e-05/0.379, allocations: 38.23 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.3791, allocations: 22.8 kB / 0.5343 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.3791, allocations: 34.61 kB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.3793, allocations: 111.4 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3794, allocations: 0 / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3794, allocations: 1.375 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3794, allocations: 0 / 0.5344 GB, free: 11.48 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005044/0.3799, allocations: 420.1 kB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3799, allocations: 10.52 kB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.38, allocations: 8.969 kB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.3802, allocations: 199.1 kB / 0.535 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3802, allocations: 3.125 kB / 0.535 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3802, allocations: 8.5 kB / 0.535 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3804, allocations: 73.03 kB / 0.5351 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3804, allocations: 1.375 kB / 0.5351 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3804, allocations: 0 / 0.5351 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3805, allocations: 5.375 kB / 0.5351 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.3806, allocations: 43.28 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.381, allocations: 319.1 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3811, allocations: 62 kB / 0.5355 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.3812, allocations: 22.47 kB / 0.5355 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3812, allocations: 5.375 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3813, allocations: 32.05 kB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3813, allocations: 3.938 kB / 0.5356 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001015/0.3823, allocations: 298.4 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.3823, allocations: 52.84 kB / 0.5359 GB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3825, allocations: 162 kB / 0.5361 GB, free: 9.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3825, allocations: 30.92 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.3826, allocations: 99.56 kB / 0.5362 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.3826, allocations: 49.14 kB / 0.5362 GB, free: 9.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.3827, allocations: 22.69 kB / 0.5363 GB, free: 9.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3828, allocations: 329.7 kB / 0.5366 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.3829, allocations: 35.28 kB / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.383, allocations: 32.95 kB / 0.5367 GB, free: 9.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.3832, allocations: 94.95 kB / 0.5367 GB, free: 9.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3832, allocations: 0 / 0.5367 GB, free: 9.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002568/0.3835, allocations: 133.2 kB / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3835, allocations: 13.34 kB / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3835, allocations: 0 / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3835, allocations: 5.094 kB / 0.5369 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3837, allocations: 33.41 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3837, allocations: 0.7031 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.3837, allocations: 7.375 kB / 0.5369 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3837, allocations: 3.469 kB / 0.5369 GB, free: 9.254 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 9.415e-05/0.3838, allocations: 124.6 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.3839, allocations: 17.78 kB / 0.5371 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.3842, allocations: 169.9 kB / 0.5372 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3842, allocations: 1.156 kB / 0.5372 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3843, allocations: 0 / 0.5372 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3843, allocations: 0.9375 kB / 0.5372 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.3848, allocations: 468.2 kB / 0.5377 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3848, allocations: 5.219 kB / 0.5377 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.385, allocations: 23.58 kB / 0.5377 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.385, allocations: 5.062 kB / 0.5377 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.385, allocations: 2.25 kB / 0.5377 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.385, allocations: 1.5 kB / 0.5377 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.385, allocations: 1.625 kB / 0.5377 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3853, allocations: 240.8 kB / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.3853, allocations: 83.7 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3854, allocations: 5.406 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.3854, allocations: 8.078 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.3855, allocations: 13.08 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3855, allocations: 7.875 kB / 0.5381 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.364e-05/0.3856, allocations: 127.3 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3856, allocations: 0 / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3859, allocations: 29.56 kB / 0.5382 GB, free: 8.152 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.001069/0.387, allocations: 460.4 kB / 0.5386 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.3872, allocations: 96.52 kB / 0.5387 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3872, allocations: 1.219 kB / 0.5387 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3874, allocations: 52.22 kB / 0.5388 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3877, allocations: 22.2 kB / 0.5388 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.3883, allocations: 283.2 kB / 0.5391 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.3886, allocations: 0.7072 MB / 0.5398 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.3886, allocations: 20.92 kB / 0.5398 GB, free: 6.895 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3886, allocations: 0 / 0.5398 GB, free: 6.895 MB / 398.1 MB Notification: Performance of Templates: time 0.004406/0.393, allocations: 1.921 MB / 0.5417 GB, free: 5.902 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches