Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 76.09 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3797, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.00295/0.3827, allocations: 1.621 MB / 0.5333 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.3837, allocations: 0.5377 MB / 0.5338 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.3837, allocations: 1.375 kB / 0.5338 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.3841, allocations: 117.5 kB / 0.5339 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.3844, allocations: 131.8 kB / 0.534 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.3847, allocations: 98.19 kB / 0.5341 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.3849, allocations: 89.23 kB / 0.5342 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.385, allocations: 20.17 kB / 0.5342 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.3851, allocations: 45.88 kB / 0.5343 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3852, allocations: 82.55 kB / 0.5343 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3853, allocations: 2.75 kB / 0.5343 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.323e-05/0.3854, allocations: 50.08 kB / 0.5344 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.3854, allocations: 35.72 kB / 0.5344 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.3855, allocations: 36.78 kB / 0.5345 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3857, allocations: 123.4 kB / 0.5346 GB, free: 11.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3857, allocations: 0.875 kB / 0.5346 GB, free: 11.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3857, allocations: 0 / 0.5346 GB, free: 11.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3857, allocations: 0 / 0.5346 GB, free: 11.69 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.0005719/0.3863, allocations: 439.2 kB / 0.535 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3863, allocations: 10.22 kB / 0.535 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.3864, allocations: 18.25 kB / 0.535 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3866, allocations: 213.9 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3866, allocations: 1.969 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.3867, allocations: 2.406 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3868, allocations: 63.28 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3868, allocations: 0 / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.3869, allocations: 1.344 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3869, allocations: 4 kB / 0.5353 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.387, allocations: 27.25 kB / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.3873, allocations: 303.6 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3875, allocations: 42.12 kB / 0.5357 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.3875, allocations: 16.94 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3876, allocations: 5.062 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3876, allocations: 35.84 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.3876, allocations: 0 / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008528/0.3885, allocations: 231.7 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3885, allocations: 60.61 kB / 0.536 GB, free: 10.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.3888, allocations: 278.5 kB / 0.5363 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3888, allocations: 30.7 kB / 0.5363 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.3889, allocations: 112 kB / 0.5364 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.389, allocations: 30.36 kB / 0.5364 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.389, allocations: 19.75 kB / 0.5364 GB, free: 9.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3891, allocations: 328.3 kB / 0.5368 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.3892, allocations: 25.05 kB / 0.5368 GB, free: 9.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.3893, allocations: 26.47 kB / 0.5368 GB, free: 9.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3894, allocations: 60.88 kB / 0.5369 GB, free: 9.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3894, allocations: 0 / 0.5369 GB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002054/0.3896, allocations: 105.2 kB / 0.537 GB, free: 9.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3897, allocations: 4.625 kB / 0.537 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3897, allocations: 1.562 kB / 0.537 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3897, allocations: 4 kB / 0.537 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.3898, allocations: 21.92 kB / 0.537 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3898, allocations: 0 / 0.537 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.3899, allocations: 16.08 kB / 0.537 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3899, allocations: 5.25 kB / 0.537 GB, free: 9.48 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.0001019/0.39, allocations: 133.5 kB / 0.5371 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.39, allocations: 15.19 kB / 0.5372 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.3903, allocations: 134.4 kB / 0.5373 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3903, allocations: 1.156 kB / 0.5373 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3903, allocations: 0 / 0.5373 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3903, allocations: 3.938 kB / 0.5373 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.3909, allocations: 412.3 kB / 0.5377 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3909, allocations: 1 kB / 0.5377 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/0.3909, allocations: 17.75 kB / 0.5377 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.391, allocations: 8.984 kB / 0.5377 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.391, allocations: 5.125 kB / 0.5377 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.391, allocations: 1.031 kB / 0.5377 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.391, allocations: 1.547 kB / 0.5377 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.3912, allocations: 205.7 kB / 0.5379 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.3913, allocations: 96.45 kB / 0.538 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.3913, allocations: 0.9062 kB / 0.538 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.3914, allocations: 3.031 kB / 0.538 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.3915, allocations: 15.28 kB / 0.538 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.3915, allocations: 2.875 kB / 0.538 GB, free: 8.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.3917, allocations: 208.9 kB / 0.5382 GB, free: 8.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3917, allocations: 0 / 0.5382 GB, free: 8.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.3919, allocations: 23.09 kB / 0.5382 GB, free: 8.414 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.001062/0.393, allocations: 465.5 kB / 0.5387 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.3932, allocations: 66.52 kB / 0.5388 GB, free: 8.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3933, allocations: 4 kB / 0.5388 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.3933, allocations: 33.48 kB / 0.5388 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3937, allocations: 28.25 kB / 0.5388 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.3944, allocations: 328.7 kB / 0.5391 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3947, allocations: 0.7219 MB / 0.5398 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.3948, allocations: 13.09 kB / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3948, allocations: 0.7812 kB / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of Templates: time 0.00382/0.3986, allocations: 1.907 MB / 0.5417 GB, free: 6.148 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches